Skip to content

Commit

Permalink
Work around tools without versions
Browse files Browse the repository at this point in the history
  • Loading branch information
shartte committed Jun 9, 2024
1 parent be16d27 commit 61cb90c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,11 @@ subprojects {
neoformData makeZip
}

TOOLS.each { dependencies.add('neoformData', it.version) { transitive = false } }
TOOLS.each {
if (it.version) {
dependencies.add('neoformData', it.version) { transitive = false }
}
}

['server', 'client', 'joined'].each {
CONFIG?.libraries?.get(it)?.each { dependencies.add('neoformApiElements', it) { transitive = false } }
Expand Down

0 comments on commit 61cb90c

Please sign in to comment.