[Gradle] Add api marker to Kotlin compilation tasks DSL
Kotlin's compilation tasks DSL should also be separated from other DSL parts. ^KT-57292 In Progress
This commit is contained in:
committed by
Space Team
parent
2af60a5e27
commit
ea8f7af1f2
+1
@@ -22,6 +22,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompilationTask
|
||||
*
|
||||
* @see [KotlinCommonOptions]
|
||||
*/
|
||||
@KotlinGradlePluginDsl
|
||||
interface KotlinCompile<out T : KotlinCommonOptions> : Task {
|
||||
|
||||
/**
|
||||
|
||||
+2
@@ -9,6 +9,7 @@ import org.gradle.api.Action
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.tasks.Nested
|
||||
import org.jetbrains.kotlin.gradle.dsl.KotlinCommonCompilerOptions
|
||||
import org.jetbrains.kotlin.gradle.dsl.KotlinGradlePluginDsl
|
||||
|
||||
/**
|
||||
* Represents a Kotlin task compiling using configurable [compilerOptions].
|
||||
@@ -17,6 +18,7 @@ import org.jetbrains.kotlin.gradle.dsl.KotlinCommonCompilerOptions
|
||||
*
|
||||
* @see [KotlinCommonCompilerOptions]
|
||||
*/
|
||||
@KotlinGradlePluginDsl
|
||||
interface KotlinCompilationTask<out CO : KotlinCommonCompilerOptions> : Task {
|
||||
|
||||
/**
|
||||
|
||||
+2
@@ -9,6 +9,7 @@ import org.gradle.api.Action
|
||||
import org.gradle.api.Task
|
||||
import org.gradle.api.tasks.Nested
|
||||
import org.jetbrains.kotlin.gradle.dsl.KotlinCommonCompilerToolOptions
|
||||
import org.jetbrains.kotlin.gradle.dsl.KotlinGradlePluginDsl
|
||||
|
||||
/**
|
||||
* Represents a Kotlin task performing further processing of compiled code via additional Kotlin tools using configurable [toolOptions].
|
||||
@@ -18,6 +19,7 @@ import org.jetbrains.kotlin.gradle.dsl.KotlinCommonCompilerToolOptions
|
||||
*
|
||||
* @see [KotlinCommonCompilerToolOptions]
|
||||
*/
|
||||
@KotlinGradlePluginDsl
|
||||
interface KotlinToolTask<out TO : KotlinCommonCompilerToolOptions> : Task {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user