Migrate atomicfu plugin configuration
^KT-49227 In Progress
This commit is contained in:
@@ -1,40 +0,0 @@
|
|||||||
repositories {
|
|
||||||
mavenLocal()
|
|
||||||
mavenCentral()
|
|
||||||
}
|
|
||||||
|
|
||||||
apply plugin: 'kotlin'
|
|
||||||
apply plugin: 'jps-compatible'
|
|
||||||
|
|
||||||
configurePublishing(project)
|
|
||||||
|
|
||||||
pill {
|
|
||||||
variant = 'FULL'
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
compileOnly project(':kotlin-gradle-plugin')
|
|
||||||
compileOnly project(':kotlin-gradle-plugin-api')
|
|
||||||
|
|
||||||
compileOnly kotlinStdlib()
|
|
||||||
compileOnly project(':kotlin-compiler-embeddable')
|
|
||||||
|
|
||||||
embedded(project(":kotlinx-atomicfu-compiler-plugin"))
|
|
||||||
}
|
|
||||||
|
|
||||||
jar {
|
|
||||||
manifestAttributes(manifest, project)
|
|
||||||
}
|
|
||||||
|
|
||||||
ArtifactsKt.runtimeJar(project, EmbeddableKt.rewriteDefaultJarDepsToShadedCompiler(project, {}), {})
|
|
||||||
configureSourcesJar()
|
|
||||||
configureJavadocJar()
|
|
||||||
|
|
||||||
pluginBundle {
|
|
||||||
plugins {
|
|
||||||
atomicfu {
|
|
||||||
id = 'org.jetbrains.kotlin.plugin.atomicfu'
|
|
||||||
description = displayName = 'Kotlin compiler plugin for kotlinx.atomicfu library'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
import org.jetbrains.kotlin.pill.PillExtension
|
||||||
|
|
||||||
|
plugins {
|
||||||
|
id("gradle-plugin-common-configuration")
|
||||||
|
id("jps-compatible")
|
||||||
|
}
|
||||||
|
|
||||||
|
pill {
|
||||||
|
variant = PillExtension.Variant.FULL
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
compileOnly(project(":kotlin-gradle-plugin"))
|
||||||
|
compileOnly(project(":kotlin-compiler-embeddable"))
|
||||||
|
|
||||||
|
embedded(project(":kotlinx-atomicfu-compiler-plugin"))
|
||||||
|
}
|
||||||
|
|
||||||
|
gradlePlugin {
|
||||||
|
plugins {
|
||||||
|
create("atomicfu") {
|
||||||
|
id = "org.jetbrains.kotlin.plugin.atomicfu"
|
||||||
|
displayName = "Kotlin compiler plugin for kotlinx.atomicfu library"
|
||||||
|
description = displayName
|
||||||
|
implementationClass = "org.jetbrains.kotlinx.atomicfu.gradle.AtomicfuKotlinGradleSubplugin"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
-1
@@ -1 +0,0 @@
|
|||||||
implementation-class=org.jetbrains.kotlinx.atomicfu.gradle.AtomicfuKotlinGradleSubplugin
|
|
||||||
Reference in New Issue
Block a user