Skip to content

Commit

Permalink
use better forEach loop
Browse files Browse the repository at this point in the history
  • Loading branch information
WaitingIdly committed Jul 14, 2024
1 parent 002a841 commit a2a5c55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,10 @@ dependencies {
embed 'com.udojava:EvalEx:2.7'

// compiles all mods, and selectively enables mods being debugged
mod_dependencies.entrySet().forEach {
def mod = rfg.deobf(it.key)
mod_dependencies.forEach { key, value ->
final def mod = rfg.deobf(key)
compileOnly mod
if (it.value.any { it.toBoolean() }) {
if (value.any { it.toBoolean() }) {
runtimeOnly mod
}
}
Expand Down

0 comments on commit a2a5c55

Please sign in to comment.