diff options
Diffstat (limited to 'runners')
-rw-r--r-- | runners/android-gradle-plugin/build.gradle | 4 | ||||
-rw-r--r-- | runners/fatjar/build.gradle | 4 | ||||
-rw-r--r-- | runners/gradle-plugin/build.gradle | 6 | ||||
-rw-r--r-- | runners/maven-plugin/build.gradle | 5 |
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) } } } |