Add Gradle Plugin Portal publication to the buildscripts

Add option to disable signing (-PnoSign), to be used when publishing
pre-built artifacts

Add option to define specific version for publishing, to be used when
publishing test versions

(cherry picked from commit dcd55e9)
This commit is contained in:
Sergey Igushkin
2017-06-13 15:49:45 +03:00
parent 4497874f31
commit a4be282074
5 changed files with 94 additions and 7 deletions
@@ -33,4 +33,17 @@ compileKotlin.dependsOn preprocessSources
jar {
from(targetSrc) { include("META-INF/**") }
}
pluginBundle {
plugins {
kotlinAllopenPlugin {
id = 'org.jetbrains.kotlin.plugin.allopen'
description = displayName = 'Kotlin All Open compiler plugin'
}
kotlinSpringPlugin {
id = 'org.jetbrains.kotlin.plugin.spring'
description = displayName = 'Kotlin Spring compiler plugin'
}
}
}