โ— Shell
clean mode source โ†—

eeee88 - Overview

  • ๐Ÿ‘‹ 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")
        }
    }
}

}