Skip to content

Commit

Permalink
Publishing configs fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mvicsokolova committed Oct 21, 2021
1 parent fed57ab commit f76b76a
Showing 1 changed file with 10 additions and 20 deletions.
30 changes: 10 additions & 20 deletions atomicfu-gradle-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,13 @@
* Copyright 2017-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/

buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.gradle.publish:plugin-publish-plugin:0.16.0"
}
plugins {
id 'kotlin'
id 'java-gradle-plugin'
id 'maven-publish'
id 'com.gradle.plugin-publish' version '0.16.0'
}

apply plugin: 'kotlin'
apply plugin: 'java-gradle-plugin'
apply plugin: 'maven-publish'
apply plugin: "com.gradle.plugin-publish"

if (rootProject.ext.jvm_ir_enabled) {
kotlin.target.compilations.all {
kotlinOptions.useIR = true
Expand Down Expand Up @@ -89,18 +80,17 @@ dependencies {

gradlePlugin {
plugins {
create("atomicfu") {
id = "kotlinx-atomicfu"
create("kotlinx-atomicfu") {
id = "org.jetbrains.kotlinx.atomicfu"
displayName = "Kotlinx Atomicfu Plugin"
description = "The idiomatic way to use atomic operations in Kotlin "
description = "The idiomatic way to use atomic operations in Kotlin"
implementationClass = "kotlinx.atomicfu.plugin.gradle.AtomicFUGradlePlugin"
}
}
}

pluginBundle {
website = "https://github.com/Kotlin/kotlinx.atomicfu"
vcsUrl = "https://github.com/Kotlin/kotlinx.atomicfu"
vcsUrl = "https://github.com/Kotlin/kotlinx.atomicfu.git"
tags = ["kotlin", "atomic", "kotlinx"]
}

}

0 comments on commit f76b76a

Please sign in to comment.