diff options
author | shedaniel <daniel@shedaniel.me> | 2021-09-12 04:20:37 +0800 |
---|---|---|
committer | shedaniel <daniel@shedaniel.me> | 2021-09-12 04:20:37 +0800 |
commit | 848a6a548f59161bbb7037965c366d167ce9be30 (patch) | |
tree | 14d6165c69afbade2b4c4f8fe13514f0aa105263 /src/test/groovy | |
parent | 8bebf7d3ea0cab04451e9b3ec1e8ba194c28fbb8 (diff) | |
download | architectury-loom-848a6a548f59161bbb7037965c366d167ce9be30.tar.gz architectury-loom-848a6a548f59161bbb7037965c366d167ce9be30.tar.bz2 architectury-loom-848a6a548f59161bbb7037965c366d167ce9be30.zip |
Fix FabricAPITest
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'src/test/groovy')
-rw-r--r-- | src/test/groovy/net/fabricmc/loom/test/integration/FabricAPITest.groovy | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/groovy/net/fabricmc/loom/test/integration/FabricAPITest.groovy b/src/test/groovy/net/fabricmc/loom/test/integration/FabricAPITest.groovy index a477d456..1ad80e87 100644 --- a/src/test/groovy/net/fabricmc/loom/test/integration/FabricAPITest.groovy +++ b/src/test/groovy/net/fabricmc/loom/test/integration/FabricAPITest.groovy @@ -51,7 +51,8 @@ class FabricAPITest extends Specification implements GradleProjectTestTrait { // Set the version to something constant gradle.buildGradle.text = gradle.buildGradle.text.replace('Globals.baseVersion + "+" + (ENV.GITHUB_RUN_NUMBER ? "" : "local-") + getBranch()', "\"$API_VERSION\"") - .replace('id "fabric-loom"', 'id "dev.architectury.loom"') + .replace('id "fabric-loom" version "0.9.50"', 'id "dev.architectury.loom"') + .replace('"fabric-loom"', '"dev.architectury.loom"') def server = ServerRunner.create(gradle.projectDir, "1.17.1") .withMod(gradle.getOutputFile("fabric-api-${API_VERSION}.jar")) |