diff options
| author | SizableShrimp <sizableshrimp@sizableshrimp.me> | 2023-07-23 06:26:33 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-23 05:26:33 -0500 |
| commit | 95076b799e83c1333802e5da1dbea098f2c60e28 (patch) | |
| tree | ae8f46a2746f747be0be0830661c7c53960e6ee6 /build.gradle | |
| parent | 33efa704318876839727d901be72b3b1e6d63608 (diff) | |
Configure all available ProcessResources tasks (#3)
This allows using the properties in resources in the test sourceset automatically and any other custom sourcesets a modder might declare
Diffstat (limited to 'build.gradle')
| -rw-r--r-- | build.gradle | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle index 71a84e9..a5aa45a 100644 --- a/build.gradle +++ b/build.gradle @@ -151,7 +151,7 @@ dependencies { // A missing property will result in an error. Properties are expanded using ${} Groovy notation. // When "copyIdeResources" is enabled, this will also run before the game launches in IDE environments. // See https://docs.gradle.org/current/dsl/org.gradle.language.jvm.tasks.ProcessResources.html -tasks.named('processResources', ProcessResources).configure { +tasks.withType(ProcessResources).configureEach { var replaceProperties = [ minecraft_version : minecraft_version, minecraft_version_range: minecraft_version_range, neo_version : neo_version, neo_version_range: neo_version_range, |
