I’m trying to use aspectj with kotlin, but I didn’t find any good examples that works
The only one that works, but only on tests, is this one:
https://github.com/serpro69/kotlin-aspectj-gradle-example
But I couldn’t make it work when running on the main method
fun main(args: Array<String>) {
println(DeepThought().theAnswerToTheUltimateQuestionOfLifeUniverseAndEverything())
}
Can someone provide me an working example for pure kotlin and gradle without using spring, android, etc?