diff options
author | Raven Szewczyk <git@eigenraven.me> | 2023-01-29 10:35:28 +0000 |
---|---|---|
committer | Raven Szewczyk <git@eigenraven.me> | 2023-01-29 10:35:28 +0000 |
commit | 58f3e9366f7f1f566e456225a354688e3301e2f3 (patch) | |
tree | 470423293feb3c2c8340a9a7b5b1464a18a61c25 | |
parent | d00202575b0e4b471a7b36519612b63556b2450f (diff) | |
download | GT5-Unofficial-58f3e9366f7f1f566e456225a354688e3301e2f3.tar.gz GT5-Unofficial-58f3e9366f7f1f566e456225a354688e3301e2f3.tar.bz2 GT5-Unofficial-58f3e9366f7f1f566e456225a354688e3301e2f3.zip |
buildscript update: Fix failing unittest
-rw-r--r-- | build.gradle | 12 | ||||
-rw-r--r-- | dependencies.gradle | 2 |
2 files changed, 12 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle index 1fe1a4fedd..069a5a66ad 100644 --- a/build.gradle +++ b/build.gradle @@ -1,4 +1,4 @@ -//version: 1674986648 +//version: 1674988119 /* DO NOT CHANGE THIS FILE! Also, you may replace this file at any time if there is an update available. @@ -375,6 +375,16 @@ configurations.configureEach { } } +// Ensure tests have access to minecraft classes +sourceSets { + test { + java { + compileClasspath += sourceSets.patchedMc.output + sourceSets.mcLauncher.output + runtimeClasspath += sourceSets.patchedMc.output + sourceSets.mcLauncher.output + } + } +} + if (file('addon.gradle').exists()) { apply from: 'addon.gradle' } diff --git a/dependencies.gradle b/dependencies.gradle index 5c7464d046..cdae295d44 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -4,5 +4,5 @@ dependencies { testImplementation(platform('org.junit:junit-bom:5.8.2')) testImplementation('org.junit.jupiter:junit-jupiter') compile("net.industrial-craft:industrialcraft-2:2.2.828-experimental:dev") - compile("com.github.GTNewHorizons:GT5-Unofficial:5.09.41.214:dev") + compile("com.github.GTNewHorizons:GT5-Unofficial:5.09.41.254:dev") } |