Build tools exec fixes

This commit is contained in:
DanMB 2021-12-30 20:15:36 -08:00
parent e66e6e0b51
commit ffc1d01a0a

View File

@ -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)