Package io.micronaut.gradle
Class MicronautKotlinSupport
java.lang.Object
io.micronaut.gradle.MicronautKotlinSupport
Extension to integration support for Kotlin.
- Since:
- 1.0.0
- Author:
- graemerocher
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
configureKotlin
(org.gradle.api.Project project) Configure Kotlin.static boolean
Check whether Kotlin support is present.static void
whenKotlinSupportPresent
(org.gradle.api.Project p, Consumer<? super org.gradle.api.Project> action)
-
Field Details
-
KOTLIN_PROCESSORS
- See Also:
-
-
Constructor Details
-
MicronautKotlinSupport
public MicronautKotlinSupport()
-
-
Method Details
-
whenKotlinSupportPresent
public static void whenKotlinSupportPresent(org.gradle.api.Project p, Consumer<? super org.gradle.api.Project> action) -
isKotlinAllOpenSupportPresent
public static boolean isKotlinAllOpenSupportPresent()Check whether Kotlin support is present.- Returns:
- True if Kotlin support is present
-
configureKotlin
public static void configureKotlin(org.gradle.api.Project project) Configure Kotlin.- Parameters:
project
- The project
-