diff options
author | Aurimas Liutikas <aurimas@google.com> | 2020-07-13 18:33:28 -0700 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-07-14 11:41:31 +0200 |
commit | 7001425367a4db79c6fcdf6b8d0c53508ba50aa7 (patch) | |
tree | 8e3d80556de27b9cf1ee93f51e7d46a498a905f6 /plugins/kotlin-as-java | |
parent | bed2450c8d6ddd5c1ef05e3e451443c286eddea1 (diff) | |
download | dokka-7001425367a4db79c6fcdf6b8d0c53508ba50aa7.tar.gz dokka-7001425367a4db79c6fcdf6b8d0c53508ba50aa7.tar.bz2 dokka-7001425367a4db79c6fcdf6b8d0c53508ba50aa7.zip |
Simplify publishing configuration and enable sourcejars
Diffstat (limited to 'plugins/kotlin-as-java')
-rw-r--r-- | plugins/kotlin-as-java/build.gradle.kts | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/plugins/kotlin-as-java/build.gradle.kts b/plugins/kotlin-as-java/build.gradle.kts index bd08ab92..27e90f84 100644 --- a/plugins/kotlin-as-java/build.gradle.kts +++ b/plugins/kotlin-as-java/build.gradle.kts @@ -1,13 +1,4 @@ -import org.jetbrains.configureBintrayPublication - -publishing { - publications { - register<MavenPublication>("kotlinAsJavaPlugin") { - artifactId = "kotlin-as-java-plugin" - from(components["java"]) - } - } -} +import org.jetbrains.configurePublication dependencies { implementation(project(":plugins:base")) @@ -16,4 +7,4 @@ dependencies { testImplementation(project(":test-tools")) } -configureBintrayPublication("kotlinAsJavaPlugin")
\ No newline at end of file +configurePublication("kotlin-as-java-plugin") |