Skip to content

Commit f76b76a

Browse files
committed
Publishing configs fixed
1 parent fed57ab commit f76b76a

File tree

1 file changed

+10
-20
lines changed

1 file changed

+10
-20
lines changed

atomicfu-gradle-plugin/build.gradle

+10-20
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,13 @@
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-
}
5+
plugins {
6+
id 'kotlin'
7+
id 'java-gradle-plugin'
8+
id 'maven-publish'
9+
id 'com.gradle.plugin-publish' version '0.16.0'
1410
}
1511

16-
apply plugin: 'kotlin'
17-
apply plugin: 'java-gradle-plugin'
18-
apply plugin: 'maven-publish'
19-
apply plugin: "com.gradle.plugin-publish"
20-
2112
if (rootProject.ext.jvm_ir_enabled) {
2213
kotlin.target.compilations.all {
2314
kotlinOptions.useIR = true
@@ -89,18 +80,17 @@ dependencies {
8980

9081
gradlePlugin {
9182
plugins {
92-
create("atomicfu") {
93-
id = "kotlinx-atomicfu"
83+
create("kotlinx-atomicfu") {
84+
id = "org.jetbrains.kotlinx.atomicfu"
9485
displayName = "Kotlinx Atomicfu Plugin"
95-
description = "The idiomatic way to use atomic operations in Kotlin "
86+
description = "The idiomatic way to use atomic operations in Kotlin"
9687
implementationClass = "kotlinx.atomicfu.plugin.gradle.AtomicFUGradlePlugin"
9788
}
9889
}
9990
}
10091

10192
pluginBundle {
10293
website = "https://github.com/Kotlin/kotlinx.atomicfu"
103-
vcsUrl = "https://github.com/Kotlin/kotlinx.atomicfu"
94+
vcsUrl = "https://github.com/Kotlin/kotlinx.atomicfu.git"
10495
tags = ["kotlin", "atomic", "kotlinx"]
105-
}
106-
96+
}

0 commit comments

Comments
 (0)