mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 02:03:59 +00:00
Build tools exec fixes
This commit is contained in:
parent
e66e6e0b51
commit
ffc1d01a0a
@ -178,6 +178,7 @@ dependencies {
|
|||||||
|
|
||||||
System.out.println("Gradle is using Java: " + JavaVersion.current());
|
System.out.println("Gradle is using Java: " + JavaVersion.current());
|
||||||
def buildToolsJar = new File(buildDir, "buildtools/BuildTools.jar");
|
def buildToolsJar = new File(buildDir, "buildtools/BuildTools.jar");
|
||||||
|
def specialSourceJar = new File(buildDir, "specialsource/SpecialSource.jar");
|
||||||
def buildToolsFolder = new File(buildDir, "buildtools");
|
def buildToolsFolder = new File(buildDir, "buildtools");
|
||||||
|
|
||||||
// ======================== Building Mapped Jars =============================
|
// ======================== Building Mapped Jars =============================
|
||||||
@ -186,6 +187,11 @@ task downloadBuildtools(type: Download) {
|
|||||||
dest buildToolsJar
|
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)
|
task executeBuildTools(dependsOn: downloadBuildtools, type: JavaExec)
|
||||||
{
|
{
|
||||||
classpath = files(buildToolsJar)
|
classpath = files(buildToolsJar)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user