mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-19 10:43:14 +00:00
Im about to just throw the entire spigot jar into the cp
fuck md5
This commit is contained in:
parent
ffc1d01a0a
commit
9c5966c49c
23
build.gradle
23
build.gradle
@ -101,8 +101,15 @@ processResources {
|
|||||||
* Unified repo
|
* Unified repo
|
||||||
*/
|
*/
|
||||||
repositories {
|
repositories {
|
||||||
|
mavenLocal{
|
||||||
|
content{
|
||||||
|
includeGroup("org.bukkit")
|
||||||
|
includeGroup("org.spigotmc")
|
||||||
|
}
|
||||||
|
}
|
||||||
maven { url "https://dl.cloudsmith.io/public/arcane/archive/maven/" }
|
maven { url "https://dl.cloudsmith.io/public/arcane/archive/maven/" }
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
mavenLocal()
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -152,8 +159,8 @@ dependencies {
|
|||||||
implementation 'org.spigotmc:spigot-api:1.18.1-R0.1-SNAPSHOT'
|
implementation 'org.spigotmc:spigot-api:1.18.1-R0.1-SNAPSHOT'
|
||||||
implementation 'me.clip:placeholderapi:2.10.10'
|
implementation 'me.clip:placeholderapi:2.10.10'
|
||||||
implementation 'io.th0rgal:oraxen:1.94.0'
|
implementation 'io.th0rgal:oraxen:1.94.0'
|
||||||
|
compileOnly 'org.bukkit:craftbukkit:1.18.1-R0.1-SNAPSHOT:remapped-mojang'
|
||||||
compileOnly 'org.spigotmc:spigot:1.18-R0.1-SNAPSHOT:remapped-mojang'
|
compileOnly 'org.spigotmc:spigot:1.18.1-R0.1-SNAPSHOT:remapped-mojang'
|
||||||
|
|
||||||
// Shaded
|
// Shaded
|
||||||
implementation 'com.dfsek:Paralithic:0.4.0'
|
implementation 'com.dfsek:Paralithic:0.4.0'
|
||||||
@ -185,11 +192,17 @@ def buildToolsFolder = new File(buildDir, "buildtools");
|
|||||||
task downloadBuildtools(type: Download) {
|
task downloadBuildtools(type: Download) {
|
||||||
src 'https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar'
|
src 'https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar'
|
||||||
dest buildToolsJar
|
dest buildToolsJar
|
||||||
|
onlyIf{
|
||||||
|
!buildToolsJar.exists()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task downloadSpecialSource(type: Download){
|
task downloadSpecialSource(type: Download){
|
||||||
src 'https://repo.maven.apache.org/maven2/net/md-5/SpecialSource/1.10.0/SpecialSource-1.10.0-shaded.jar'
|
src 'https://repo.maven.apache.org/maven2/net/md-5/SpecialSource/1.10.0/SpecialSource-1.10.0-shaded.jar'
|
||||||
dest specialSourceJar
|
dest specialSourceJar
|
||||||
|
onlyIf{
|
||||||
|
!specialSourceJar.exists()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task executeBuildTools(dependsOn: downloadBuildtools, type: JavaExec)
|
task executeBuildTools(dependsOn: downloadBuildtools, type: JavaExec)
|
||||||
@ -201,7 +214,11 @@ task executeBuildTools(dependsOn: downloadBuildtools, type: JavaExec)
|
|||||||
nmsVersion,
|
nmsVersion,
|
||||||
"--compile",
|
"--compile",
|
||||||
"craftbukkit",
|
"craftbukkit",
|
||||||
"--compile-if-changed",
|
|
||||||
"--remap"
|
"--remap"
|
||||||
]
|
]
|
||||||
|
onlyIf{
|
||||||
|
!buildToolsFolder.exists()
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
tasks.compileJava.dependsOn(executeBuildTools)
|
Loading…
x
Reference in New Issue
Block a user