Skip to content

Commit

Permalink
fix(build): missing dependsOn for gradle 8
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Mar 13, 2023
1 parent 2d96fea commit 0f6a784
Showing 1 changed file with 7 additions and 17 deletions.
24 changes: 7 additions & 17 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -231,28 +231,16 @@ jar {
}

shadowJar {
dependsOn = ['ui:assembleFrontend']

archiveClassifier.set(null)
mergeServiceFiles()
zip64 true
}

distZip {
dependsOn(':shadowJar')
}

distTar {
dependsOn(':shadowJar')
}

startScripts {
dependsOn(':shadowJar')
}

startShadowScripts {
dependsOn(':jar')
}
distZip.dependsOn shadowJar
distTar.dependsOn shadowJar
startScripts.dependsOn shadowJar
startShadowScripts.dependsOn jar
shadowJar.dependsOn 'ui:assembleFrontend'

/**********************************************************************************************************************\
* Executable Jar
Expand Down Expand Up @@ -369,6 +357,8 @@ subprojects {
}

task sourcesJar(type: Jar) {
dependsOn = [':core:copyGradleProperties']
dependsOn = [':ui:assembleFrontend']
archiveClassifier.set('sources')
from sourceSets.main.allSource
}
Expand Down

0 comments on commit 0f6a784

Please sign in to comment.