diff --git a/build.gradle b/build.gradle index 2e5f46104..739a62dfd 100644 --- a/build.gradle +++ b/build.gradle @@ -178,6 +178,7 @@ dependencies { System.out.println("Gradle is using Java: " + JavaVersion.current()); def buildToolsJar = new File(buildDir, "buildtools/BuildTools.jar"); +def specialSourceJar = new File(buildDir, "specialsource/SpecialSource.jar"); def buildToolsFolder = new File(buildDir, "buildtools"); // ======================== Building Mapped Jars ============================= @@ -186,6 +187,11 @@ task downloadBuildtools(type: Download) { dest buildToolsJar } +task downloadSpecialSource(type: Download){ + src 'https://repo.maven.apache.org/maven2/net/md-5/SpecialSource/1.10.0/SpecialSource-1.10.0-shaded.jar' + dest specialSourceJar +} + task executeBuildTools(dependsOn: downloadBuildtools, type: JavaExec) { classpath = files(buildToolsJar)