aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-11-19 17:09:52 +0800
committershedaniel <daniel@shedaniel.me>2020-11-19 17:09:52 +0800
commit2a4cb0445d3dca1ef67bb8875ac93c2b04fa9b48 (patch)
tree1a2fd33cad1352b91d1b5689ca396b0823e9f386 /build.gradle
parent883738ac49e261eb1b9cfbd68a14900cb4450cf2 (diff)
downloadRoughlyEnoughItems-2a4cb0445d3dca1ef67bb8875ac93c2b04fa9b48.tar.gz
RoughlyEnoughItems-2a4cb0445d3dca1ef67bb8875ac93c2b04fa9b48.tar.bz2
RoughlyEnoughItems-2a4cb0445d3dca1ef67bb8875ac93c2b04fa9b48.zip
Fix #442
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'build.gradle')
-rwxr-xr-xbuild.gradle17
1 files changed, 0 insertions, 17 deletions
diff --git a/build.gradle b/build.gradle
index c6c696d9f..c8d367d4d 100755
--- a/build.gradle
+++ b/build.gradle
@@ -41,13 +41,6 @@ allprojects {
sourceCompatibility = targetCompatibility = 1.8
- sourceSets {
- testmod {
- compileClasspath += main.compileClasspath
- runtimeClasspath += main.runtimeClasspath
- }
- }
-
loom {
shareCaches = true
}
@@ -119,10 +112,6 @@ subprojects {
group = rootProject.group
version = rootProject.version
- dependencies {
- testmodCompile sourceSets.main.output
- }
-
task remapMavenJar(type: Copy, dependsOn: remapJar) {
afterEvaluate {
from("${project.buildDir}/libs/$archivesBaseName-${version}.jar")
@@ -208,17 +197,11 @@ task remapMavenJar(type: RemapJarTask, dependsOn: jar) {
}
}
-sourceSets {
- testmod
-}
-
dependencies {
afterEvaluate {
subprojects.each {
compile project(path: ":${it.name}", configuration: "dev")
include project(path: ":${it.name}", configuration: "remapped")
-
- testmodCompile project("${it.name}:").sourceSets.testmod.output
}
def listAdded = new ArrayList(Arrays.asList((api_exculde as String).split(',')))