Build: Add diagnostic for publish() helper

This commit is contained in:
Vyacheslav Gerasimov
2019-02-25 18:04:58 +03:00
parent a42f607ecf
commit f7428e7161
3 changed files with 24 additions and 10 deletions
+2 -2
View File
@@ -99,6 +99,8 @@ dependencies {
fatJarContentsStripServices(intellijDep("jps-standalone")) { includeJars("jps-model") }
}
publish()
noDefaultJar()
val packCompiler by task<ShadowJar> {
@@ -154,8 +156,6 @@ dist(targetName = "$compilerBaseName.jar", fromTask = pack) {
from(trove4jJar)
}
publish()
runtimeJarArtifactBy(pack, pack.outputs.files.singleFile) {
name = compilerBaseName
classifier = ""
+2 -3
View File
@@ -91,6 +91,8 @@ dependencies {
fatJarContentsStripMetadata(intellijDep()) { includeJars("oro-2.0.8", "jdom", "log4j" ) }
}
publish()
noDefaultJar()
val packCompiler by task<ShadowJar> {
@@ -146,8 +148,6 @@ dist(targetName = "$compilerBaseName.jar", fromTask = pack) {
from(trove4jJar)
}
publish()
runtimeJarArtifactBy(pack, pack.outputs.files.singleFile) {
name = compilerBaseName
classifier = ""
@@ -158,4 +158,3 @@ sourcesJar {
}
javadocJar()