- ๐ Hi, Iโm
- ๐ Iโm interested in ...
- ๐ฑ Iโm currently learning ...
- ๐๏ธ Iโm looking to collaborate on ...
- ๐ซ How to reach me ...
- ๐ Pronouns: ...
- โก Fun fact: ...
kotlin { jvm { @OptIn(ExperimentalKotlinGradlePluginApi::class) binaries { // Configures a JavaExec task named "" and a Gradle distribution for the "main" compilation in this target executable { mainClass.set("foo.MainKt") }
// Configures a JavaExec task named "Another" and a Gradle distribution for the "main" compilation
executable(KotlinCompilation.MAIN_COMPILATION_NAME, "another") {
// Set a different class
mainClass.set("foo.MainAnotherKt")
}
// Configures a JavaExec task named "Test" and a Gradle distribution for the "test" compilation
executable(KotlinCompilation.TEST_COMPILATION_NAME) {
mainClass.set("foo.MainTestKt")
}
// Configures a JavaExec task named "TestAnother" and a Gradle distribution for the "test" compilation
executable(KotlinCompilation.TEST_COMPILATION_NAME, "another") {
mainClass.set("foo.MainAnotherTestKt")
}
}
}
}