diff options
| -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") } |
