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
+13
View File
@@ -39,4 +39,17 @@ compileKotlin.dependsOn preprocessSources
jar {
from(targetSrc) { include("META-INF/**") }
}
pluginBundle {
plugins {
kotlinNoargPlugin {
id = 'org.jetbrains.kotlin.plugin.noarg'
description = displayName = 'Kotlin No Arg compiler plugin'
}
kotlinJpaPlugin {
id = 'org.jetbrains.kotlin.plugin.jpa'
description = displayName = 'Kotlin JPA compiler plugin'
}
}
}