aboutsummaryrefslogtreecommitdiff
path: root/plugins/kotlin-as-java
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2020-03-17 09:10:12 +0100
committerKamil Doległo <kamilok1965@interia.pl>2020-03-17 09:10:12 +0100
commit6ed5e125d97e4ddc5b1cd80ed3567fa7bd2e63e6 (patch)
treecfa66572c585b87e73994ea0d8e7d98b3758529e /plugins/kotlin-as-java
parentfb27b386af878a7cd942e97701b66a0d67f7778c (diff)
downloaddokka-6ed5e125d97e4ddc5b1cd80ed3567fa7bd2e63e6.tar.gz
dokka-6ed5e125d97e4ddc5b1cd80ed3567fa7bd2e63e6.tar.bz2
dokka-6ed5e125d97e4ddc5b1cd80ed3567fa7bd2e63e6.zip
Configure bintray publishing for kotlin-as-java plugin
Diffstat (limited to 'plugins/kotlin-as-java')
-rw-r--r--plugins/kotlin-as-java/build.gradle.kts12
1 files changed, 10 insertions, 2 deletions
diff --git a/plugins/kotlin-as-java/build.gradle.kts b/plugins/kotlin-as-java/build.gradle.kts
index 32f9c931..0de29557 100644
--- a/plugins/kotlin-as-java/build.gradle.kts
+++ b/plugins/kotlin-as-java/build.gradle.kts
@@ -1,6 +1,12 @@
+import org.jetbrains.configureBintrayPublication
+
+plugins {
+ id("com.jfrog.bintray")
+}
+
publishing {
publications {
- register<MavenPublication>("kotlin-as-java-plugin") {
+ register<MavenPublication>("kotlinAsJavaPlugin") {
artifactId = "kotlin-as-java-plugin"
from(components["java"])
}
@@ -9,4 +15,6 @@ publishing {
dependencies {
implementation(project(":plugins:base"))
-} \ No newline at end of file
+}
+
+configureBintrayPublication("kotlinAsJavaPlugin") \ No newline at end of file