mirror of
https://github.com/GTNewHorizons/Postea.git
synced 2026-11-19 03:49:05 +00:00
[ci skip] Fix default tests no longer having access to minecraft
This commit is contained in:
1 parent
a072a8a67a
commit
608756dd00
1 file changed
+11
-1
+11
-1
@@ -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'
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user