We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aba6031 commit 5a4ceb8Copy full SHA for 5a4ceb8
1 file changed
schema-loader/build.gradle
@@ -84,10 +84,8 @@ spotbugsTest.reports {
84
}
85
spotbugsTest.excludeFilter = file("${project.rootDir}/gradle/spotbugs-exclude.xml")
86
87
-// for archiving and uploading to maven central
88
-if (project.gradle.startParameter.taskNames.any { it.endsWith('publish') } ||
89
- project.gradle.startParameter.taskNames.any { it.endsWith('publishToMavenLocal') }) {
90
- // not to publish the fat jar to maven central
+// for publishing (not to publish the fat jar)
+if (project.gradle.startParameter.taskNames.any { it.tokenize(':').last().startsWith('publish') }) {
91
shadowJar.enabled = false
92
93
0 commit comments