We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 316e3da commit d059dd6Copy full SHA for d059dd6
gradle/publishing.gradle
@@ -16,7 +16,6 @@ subprojects {
16
publications {
17
mavenJava(MavenPublication) {
18
afterEvaluate {
19
- if (tasks.findByName("shadowJar") != null) artifact shadowJar
20
from components.java
21
}
22
temporal-shaded/build.gradle
@@ -61,9 +61,6 @@ configurations.shadow {
61
transitive = false
62
63
64
-// we are not interested in a regular jar from this build
65
-project.tasks.named("jar")configure { enabled = false}
66
-
67
shadowJar {
68
configurations = [project.configurations.shadow]
69
@@ -73,4 +70,6 @@ shadowJar {
73
70
74
71
mergeServiceFiles()
75
72
archiveClassifier.set("")
76
-}
+}
+
+shadowJar.shouldRunAfter(jar)
0 commit comments