diff --git a/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/targets/native/NativeBinaries.kt b/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/targets/native/NativeBinaries.kt index 40ea1465a4a..cac1caee8ca 100644 --- a/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/targets/native/NativeBinaries.kt +++ b/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/targets/native/NativeBinaries.kt @@ -136,8 +136,24 @@ class Executable constructor( } } + /** + * The fully qualified name of the main function. For an example: + * + * - "main" + * - "com.example.main" + * + * The main function can either take no arguments or an Array. + */ var entryPoint: String? = null + /** + * Set the fully qualified name of the main function. For an example: + * + * - "main" + * - "com.example.main" + * + * The main function can either take no arguments or an Array. + */ fun entryPoint(point: String?) { entryPoint = point }