aboutsummaryrefslogtreecommitdiff
path: root/runners
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-10-08 23:50:29 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-10-08 23:59:19 +0300
commit2baf338a1eeffa5104ad9d9ec8f1abb0b4c16cf9 (patch)
tree37291ed15e6ae74e45563e2f9cb57a148891ede1 /runners
parent206829dfac31505f078f1c114785c550f2135742 (diff)
downloaddokka-2baf338a1eeffa5104ad9d9ec8f1abb0b4c16cf9.tar.gz
dokka-2baf338a1eeffa5104ad9d9ec8f1abb0b4c16cf9.tar.bz2
dokka-2baf338a1eeffa5104ad9d9ec8f1abb0b4c16cf9.zip
Update ShadowJar Gradle plugin to 2.0.1
Diffstat (limited to 'runners')
-rw-r--r--runners/android-gradle-plugin/build.gradle4
-rw-r--r--runners/fatjar/build.gradle4
-rw-r--r--runners/gradle-plugin/build.gradle6
-rw-r--r--runners/maven-plugin/build.gradle5
4 files changed, 11 insertions, 8 deletions
diff --git a/runners/android-gradle-plugin/build.gradle b/runners/android-gradle-plugin/build.gradle
index 68152475..8e97d9d9 100644
--- a/runners/android-gradle-plugin/build.gradle
+++ b/runners/android-gradle-plugin/build.gradle
@@ -47,13 +47,13 @@ apply plugin: 'maven-publish'
publishing {
publications {
- dokkaAndroidGradlePlugin(MavenPublication) {
- from components.shadow
+ dokkaAndroidGradlePlugin(MavenPublication) { publication ->
artifactId = 'dokka-android-gradle-plugin'
artifact sourceJar {
classifier "sources"
}
+ project.shadow.component(publication)
}
}
}
diff --git a/runners/fatjar/build.gradle b/runners/fatjar/build.gradle
index dbd56f3c..e3bea7ed 100644
--- a/runners/fatjar/build.gradle
+++ b/runners/fatjar/build.gradle
@@ -36,9 +36,9 @@ apply plugin: 'maven-publish'
publishing {
publications {
- dokkaFatJar(MavenPublication) {
- from components.shadow
+ dokkaFatJar(MavenPublication) { publication ->
artifactId = 'dokka-fatjar'
+ project.shadow.component(publication)
}
}
}
diff --git a/runners/gradle-plugin/build.gradle b/runners/gradle-plugin/build.gradle
index 7b859908..5af6b427 100644
--- a/runners/gradle-plugin/build.gradle
+++ b/runners/gradle-plugin/build.gradle
@@ -45,13 +45,15 @@ apply plugin: 'maven-publish'
publishing {
publications {
- dokkaGradlePlugin(MavenPublication) {
- from components.shadow
+ dokkaGradlePlugin(MavenPublication) { publication ->
+
artifactId = 'dokka-gradle-plugin'
artifact sourceJar {
classifier "sources"
}
+
+ project.shadow.component(publication)
}
}
}
diff --git a/runners/maven-plugin/build.gradle b/runners/maven-plugin/build.gradle
index 5176957e..bac05b2b 100644
--- a/runners/maven-plugin/build.gradle
+++ b/runners/maven-plugin/build.gradle
@@ -60,8 +60,7 @@ apply plugin: 'maven-publish'
publishing {
publications {
- dokkaMavenPlugin(MavenPublication) {
- from components.shadow
+ dokkaMavenPlugin(MavenPublication) { publication ->
artifactId = 'dokka-maven-plugin'
artifact sourceJar {
@@ -115,6 +114,8 @@ publishing {
''')
root.append(profiles)
}
+
+ project.shadow.component(publication)
}
}
}