diff options
Diffstat (limited to 'build.gradle')
| -rwxr-xr-x | build.gradle | 17 |
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(','))) |
