Migrate kotlin-noarg configuration
^KT-49227 In Progress
This commit is contained in:
@@ -1,38 +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(':compiler')
|
|
||||||
compileOnly project(':kotlin-noarg-compiler-plugin')
|
|
||||||
|
|
||||||
testApi gradleApi()
|
|
||||||
testApi(DependenciesKt.commonDependency(project, "junit"))
|
|
||||||
|
|
||||||
embedded(project(":kotlin-noarg-compiler-plugin")) { transitive = false }
|
|
||||||
}
|
|
||||||
|
|
||||||
ArtifactsKt.runtimeJar(project, EmbeddableKt.rewriteDefaultJarDepsToShadedCompiler(project, {}), {})
|
|
||||||
|
|
||||||
pluginBundle {
|
|
||||||
plugins {
|
|
||||||
kotlinNoargPlugin {
|
|
||||||
id = 'org.jetbrains.kotlin.plugin.noarg'
|
|
||||||
description = displayName = 'Kotlin No Arg compiler plugin'
|
|
||||||
}
|
|
||||||
kotlinJpaPlugin {
|
|
||||||
id = 'org.jetbrains.kotlin.plugin.jpa'
|
|
||||||
description = displayName = 'Kotlin JPA compiler plugin'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
configurePluginMarkers(project)
|
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
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(":compiler"))
|
||||||
|
compileOnly(project(":kotlin-noarg-compiler-plugin"))
|
||||||
|
|
||||||
|
testImplementation(gradleApi())
|
||||||
|
testImplementation(commonDependency("junit"))
|
||||||
|
|
||||||
|
embedded(project(":kotlin-noarg-compiler-plugin")) { isTransitive = false }
|
||||||
|
}
|
||||||
|
|
||||||
|
gradlePlugin {
|
||||||
|
plugins {
|
||||||
|
create("kotlinNoargPlugin") {
|
||||||
|
id = "org.jetbrains.kotlin.plugin.noarg"
|
||||||
|
displayName = "Kotlin No Arg compiler plugin"
|
||||||
|
description = displayName
|
||||||
|
implementationClass = "org.jetbrains.kotlin.noarg.gradle.NoArgGradleSubplugin"
|
||||||
|
}
|
||||||
|
create("kotlinJpaPlugin") {
|
||||||
|
id = "org.jetbrains.kotlin.plugin.jpa"
|
||||||
|
displayName = "Kotlin JPA compiler plugin"
|
||||||
|
description = displayName
|
||||||
|
implementationClass = "org.jetbrains.kotlin.noarg.gradle.KotlinJpaSubplugin"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
-1
@@ -1 +0,0 @@
|
|||||||
implementation-class=org.jetbrains.kotlin.noarg.gradle.KotlinJpaSubplugin
|
|
||||||
-1
@@ -1 +0,0 @@
|
|||||||
implementation-class=org.jetbrains.kotlin.noarg.gradle.NoArgGradleSubplugin
|
|
||||||
Reference in New Issue
Block a user