Skip to content

Commit

Permalink
try fix packs
Browse files Browse the repository at this point in the history
  • Loading branch information
duplexsystem committed Jul 8, 2022
1 parent eb79a6f commit 7d056bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion buildSrc/src/main/kotlin/DistributionConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ fun Project.configureDistribution() {

val generateResourceManifest = tasks.create("generateResourceManifest") {
group = "terra"
dependsOn(downloadDefaultPacks)
doLast {
val resources = HashMap<String, MutableList<String>>()
val packsDir = File("${project.buildDir}/resources/main/packs/")
Expand Down Expand Up @@ -115,6 +114,8 @@ fun Project.configureDistribution() {
}

tasks.named("processResources") {
generateResourceManifest.mustRunAfter(downloadDefaultPacks)
finalizedBy(downloadDefaultPacks)
finalizedBy(generateResourceManifest)
}

Expand Down

0 comments on commit 7d056bd

Please sign in to comment.