File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 22 * Copyright 2017-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
33 */
44
5+ buildscript {
6+ repositories {
7+ maven {
8+ url " https://plugins.gradle.org/m2/"
9+ }
10+ }
11+ dependencies {
12+ classpath " com.gradle.publish:plugin-publish-plugin:0.16.0"
13+ }
14+ }
15+
516apply plugin : ' kotlin'
617apply plugin : ' java-gradle-plugin'
18+ apply plugin : ' maven-publish'
19+ apply plugin : " com.gradle.plugin-publish"
720
821if (rootProject. ext. jvm_ir_enabled) {
922 kotlin. target. compilations. all {
@@ -73,3 +86,21 @@ task createClasspathManifest {
7386dependencies {
7487 testRuntime files(createClasspathManifest)
7588}
89+
90+ gradlePlugin {
91+ plugins {
92+ create(" atomicfu" ) {
93+ id = " kotlinx-atomicfu"
94+ displayName = " Kotlinx Atomicfu Plugin"
95+ description = " The idiomatic way to use atomic operations in Kotlin "
96+ implementationClass = " kotlinx.atomicfu.plugin.gradle.AtomicFUGradlePlugin"
97+ }
98+ }
99+ }
100+
101+ pluginBundle {
102+ website = " https://github.com/Kotlin/kotlinx.atomicfu"
103+ vcsUrl = " https://github.com/Kotlin/kotlinx.atomicfu"
104+ tags = [" kotlin" , " atomic" , " kotlinx" ]
105+ }
106+
You can’t perform that action at this time.
0 commit comments