gildor
07/09/2018, 1:20 AMkonanArtifacts {
program("myApp")
program("myAppTest") {
srcDir("src/test/kotlin")
srcDir("src/main/kotlin")
extraOpts("-tr")
}
}
So than you can run program:
./gradlew runMyApp
and tests:
./gradlew runMyAppTest
It’s not the most efficient way, you should compile but apps separately, but will work