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
42 lines
1.2 KiB
Groovy
42 lines
1.2 KiB
Groovy
def pluginProjects = [
|
|
project(':kotlin-gradle-plugin'),
|
|
project(':kotlin-allopen'),
|
|
project(':kotlin-noarg'),
|
|
project(':kotlin-serialization'),
|
|
project(':atomicfu'),
|
|
project(':kotlin-lombok')
|
|
]
|
|
configure(pluginProjects) { project ->
|
|
apply plugin: 'com.gradle.plugin-publish'
|
|
|
|
afterEvaluate {
|
|
if (project.hasProperty('publishPluginsVersion')) {
|
|
configurations.archives.artifacts.all {
|
|
version = project.getProperty('publishPluginsVersion')
|
|
}
|
|
}
|
|
|
|
if (project.hasProperty("${project.name}-jar")) {
|
|
println("Using pre-built artifact for ${project.name}")
|
|
configurations.archives.artifacts.clear()
|
|
|
|
artifacts {
|
|
archives(file(project.getProperty("${project.name}-jar"))) {
|
|
name project.name
|
|
}
|
|
}
|
|
}
|
|
|
|
publishPlugins.doFirst {
|
|
assert !kotlinVersion.contains('SNAPSHOT')
|
|
}
|
|
|
|
pluginBundle {
|
|
website = 'https://kotlinlang.org/'
|
|
vcsUrl = 'https://github.com/JetBrains/kotlin/'
|
|
description = 'Kotlin plugins for Gradle'
|
|
tags = ['kotlin']
|
|
}
|
|
}
|
|
}
|