File tree 1 file changed +31
-0
lines changed
1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 2
2
* Copyright 2017-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3
3
*/
4
4
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
+
5
16
apply plugin : ' kotlin'
6
17
apply plugin : ' java-gradle-plugin'
18
+ apply plugin : ' maven-publish'
19
+ apply plugin : " com.gradle.plugin-publish"
7
20
8
21
if (rootProject. ext. jvm_ir_enabled) {
9
22
kotlin. target. compilations. all {
@@ -73,3 +86,21 @@ task createClasspathManifest {
73
86
dependencies {
74
87
testRuntime files(createClasspathManifest)
75
88
}
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