93561a1a55
* kotlinx.atomicfu compiler plugin for JS_IR Support transformations of atomic operations introduced by the kotlinx.atomicfu library for the JS_IR backend. Compiler plugin is applied externally by the kotlinx.atomicfu gradle plugin. * Apply compiler plugin for JS platform only * New plugin test structure * testGroupOutputDirPrefix changed
40 lines
849 B
Groovy
40 lines
849 B
Groovy
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'
|
|
}
|
|
}
|
|
} |