Migrate kotlin-allopen configuration
^KT-49227 In Progress
This commit is contained in:
@@ -1,37 +0,0 @@
|
||||
plugins {
|
||||
id 'gradle-plugin-common-configuration'
|
||||
id 'jps-compatible'
|
||||
}
|
||||
|
||||
pill {
|
||||
variant = 'FULL'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api project(':kotlin-gradle-plugin-api')
|
||||
api project(':kotlin-gradle-plugin-model')
|
||||
|
||||
compileOnly project(':kotlin-compiler-embeddable')
|
||||
compileOnly project(':kotlin-allopen-compiler-plugin')
|
||||
|
||||
embedded(project(":kotlin-allopen-compiler-plugin")) { transitive = false }
|
||||
}
|
||||
|
||||
ArtifactsKt.runtimeJar(project, EmbeddableKt.rewriteDefaultJarDepsToShadedCompiler(project, {}), {})
|
||||
configureSourcesJar()
|
||||
configureJavadocJar()
|
||||
|
||||
pluginBundle {
|
||||
plugins {
|
||||
kotlinAllopenPlugin {
|
||||
id = 'org.jetbrains.kotlin.plugin.allopen'
|
||||
description = displayName = 'Kotlin All Open compiler plugin'
|
||||
}
|
||||
kotlinSpringPlugin {
|
||||
id = 'org.jetbrains.kotlin.plugin.spring'
|
||||
description = displayName = 'Kotlin Spring compiler plugin'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
configurePluginMarkers(project)
|
||||
@@ -0,0 +1,36 @@
|
||||
import org.jetbrains.kotlin.pill.PillExtension
|
||||
|
||||
plugins {
|
||||
id("gradle-plugin-common-configuration")
|
||||
id("jps-compatible")
|
||||
}
|
||||
|
||||
pill {
|
||||
variant = PillExtension.Variant.FULL
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(project(":kotlin-gradle-plugin-model"))
|
||||
|
||||
compileOnly(project(":kotlin-compiler-embeddable"))
|
||||
compileOnly(project(":kotlin-allopen-compiler-plugin"))
|
||||
|
||||
embedded(project(":kotlin-allopen-compiler-plugin")) { isTransitive = false }
|
||||
}
|
||||
|
||||
gradlePlugin {
|
||||
plugins {
|
||||
create("kotlinAllopenPlugin") {
|
||||
id = "org.jetbrains.kotlin.plugin.allopen"
|
||||
displayName = "Kotlin All Open compiler plugin"
|
||||
description = displayName
|
||||
implementationClass = "org.jetbrains.kotlin.allopen.gradle.AllOpenGradleSubplugin"
|
||||
}
|
||||
create("kotlinSpringPlugin") {
|
||||
id = "org.jetbrains.kotlin.plugin.spring"
|
||||
displayName = "Kotlin Spring compiler plugin"
|
||||
description = displayName
|
||||
implementationClass = "org.jetbrains.kotlin.allopen.gradle.SpringGradleSubplugin"
|
||||
}
|
||||
}
|
||||
}
|
||||
-1
@@ -1 +0,0 @@
|
||||
implementation-class=org.jetbrains.kotlin.allopen.gradle.AllOpenGradleSubplugin
|
||||
-1
@@ -1 +0,0 @@
|
||||
implementation-class=org.jetbrains.kotlin.allopen.gradle.SpringGradleSubplugin
|
||||
Reference in New Issue
Block a user