Update dependencies #355
@ -44,7 +44,7 @@ sourceSets {
|
||||
dependencies {
|
||||
implementation project(":FightSystem_Core")
|
||||
|
||||
compileOnly files("${projectDir}/../lib/Spigot-1.10.jar")
|
||||
compileOnly files("${projectDir}/../lib/WorldEdit-1.12.jar")
|
||||
compileOnly files("${projectDir}/../lib/SpigotCore.jar")
|
||||
compileOnly swdep("Spigot-1.10")
|
||||
compileOnly swdep("WorldEdit-1.12")
|
||||
compileOnly swdep("SpigotCore")
|
||||
}
|
||||
|
@ -45,7 +45,7 @@ dependencies {
|
||||
implementation project(":FightSystem_Core")
|
||||
implementation project(":FightSystem_8")
|
||||
|
||||
compileOnly files("${projectDir}/../lib/Spigot-1.12.jar")
|
||||
compileOnly files("${projectDir}/../lib/WorldEdit-1.12.jar")
|
||||
compileOnly files("${projectDir}/../lib/SpigotCore.jar")
|
||||
compileOnly swdep("Spigot-1.12")
|
||||
compileOnly swdep("WorldEdit-1.12")
|
||||
compileOnly swdep("SpigotCore")
|
||||
}
|
||||
|
@ -46,7 +46,7 @@ dependencies {
|
||||
implementation project(":FightSystem_9")
|
||||
implementation project(":FightSystem_8")
|
||||
|
||||
compileOnly files("${projectDir}/../lib/Spigot-1.14.jar")
|
||||
compileOnly files("${projectDir}/../lib/WorldEdit-1.15.jar")
|
||||
compileOnly files("${projectDir}/../lib/SpigotCore.jar")
|
||||
compileOnly swdep("Spigot-1.14")
|
||||
compileOnly swdep("WorldEdit-1.15")
|
||||
compileOnly swdep("SpigotCore")
|
||||
}
|
||||
|
@ -44,7 +44,7 @@ sourceSets {
|
||||
dependencies {
|
||||
implementation project(":FightSystem_Core")
|
||||
|
||||
compileOnly files("${projectDir}/../lib/Spigot-1.15.jar")
|
||||
compileOnly files("${projectDir}/../lib/WorldEdit-1.15.jar")
|
||||
compileOnly files("${projectDir}/../lib/SpigotCore.jar")
|
||||
compileOnly swdep("Spigot-1.15")
|
||||
compileOnly swdep("WorldEdit-1.15")
|
||||
compileOnly swdep("SpigotCore")
|
||||
}
|
||||
|
@ -49,7 +49,7 @@ dependencies {
|
||||
compileOnly 'io.netty:netty-all:4.1.68.Final'
|
||||
compileOnly 'com.mojang:authlib:1.5.25'
|
||||
|
||||
compileOnly files("${projectDir}/../lib/Spigot-1.18.jar")
|
||||
compileOnly files("${projectDir}/../lib/WorldEdit-1.15.jar")
|
||||
compileOnly files("${projectDir}/../lib/SpigotCore.jar")
|
||||
compileOnly swdep("Spigot-1.18")
|
||||
compileOnly swdep("WorldEdit-1.15")
|
||||
compileOnly swdep("SpigotCore")
|
||||
}
|
||||
|
@ -50,7 +50,7 @@ dependencies {
|
||||
compileOnly 'io.netty:netty-all:4.1.68.Final'
|
||||
compileOnly 'com.mojang:authlib:1.5.25'
|
||||
|
||||
compileOnly files("${projectDir}/../lib/Spigot-1.19.jar")
|
||||
compileOnly files("${projectDir}/../lib/WorldEdit-1.15.jar")
|
||||
compileOnly files("${projectDir}/../lib/SpigotCore.jar")
|
||||
compileOnly swdep("Spigot-1.19")
|
||||
compileOnly swdep("WorldEdit-1.15")
|
||||
compileOnly swdep("SpigotCore")
|
||||
}
|
||||
|
@ -44,7 +44,7 @@ sourceSets {
|
||||
dependencies {
|
||||
implementation project(":FightSystem_Core")
|
||||
|
||||
compileOnly files("${projectDir}/../lib/Spigot-1.8.jar")
|
||||
compileOnly files("${projectDir}/../lib/WorldEdit-1.12.jar")
|
||||
compileOnly files("${projectDir}/../lib/SpigotCore.jar")
|
||||
compileOnly swdep("Spigot-1.8")
|
||||
compileOnly swdep("WorldEdit-1.12")
|
||||
Lixfel markierte diese Unterhaltung als gelöst
Veraltet
|
||||
compileOnly swdep("SpigotCore")
|
||||
}
|
||||
|
@ -45,7 +45,7 @@ dependencies {
|
||||
implementation project(":FightSystem_Core")
|
||||
implementation project(":FightSystem_8")
|
||||
|
||||
compileOnly files("${projectDir}/../lib/Spigot-1.9.jar")
|
||||
compileOnly files("${projectDir}/../lib/WorldEdit-1.12.jar")
|
||||
compileOnly files("${projectDir}/../lib/SpigotCore.jar")
|
||||
compileOnly swdep("Spigot-1.9")
|
||||
compileOnly swdep("WorldEdit-1.12")
|
||||
compileOnly swdep("SpigotCore")
|
||||
YoyoNow markierte diese Unterhaltung als gelöst
Veraltet
Lixfel
hat
Ah, hier auch. Ah, hier auch.
|
||||
}
|
||||
|
@ -47,6 +47,6 @@ dependencies {
|
||||
compileOnly 'io.netty:netty-all:4.1.68.Final'
|
||||
compileOnly 'com.mojang:authlib:1.5.25'
|
||||
|
||||
compileOnly files("${projectDir}/../lib/WorldEdit-1.15.jar")
|
||||
compileOnly files("${projectDir}/../lib/SpigotCore.jar")
|
||||
compileOnly swdep("WorldEdit-1.15")
|
||||
compileOnly swdep("SpigotCore")
|
||||
}
|
||||
|
@ -61,7 +61,7 @@ dependencies {
|
||||
}
|
||||
}
|
||||
|
||||
implementation files("${projectDir}/../lib/SpigotCore.jar")
|
||||
implementation swdep("SpigotCore")
|
||||
}
|
||||
|
||||
task fixPluginYML(type: Copy) {
|
||||
|
20
build.gradle
20
build.gradle
@ -35,6 +35,18 @@ plugins {
|
||||
id 'com.github.johnrengelman.shadow' version '5.0.0'
|
||||
}
|
||||
|
||||
ext.swdep = { s ->
|
||||
if (file("${rootDir}/lib/${s}.jar").exists()) {
|
||||
return files("${rootDir}/lib/${s}.jar")
|
||||
} else {
|
||||
if (s.contains("-")) {
|
||||
return "de.steamwar:${s.toLowerCase().replace('-', ':')}"
|
||||
} else {
|
||||
return "de.steamwar:${s.toLowerCase()}:RELEASE"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group 'de.steamwar'
|
||||
version ''
|
||||
|
||||
@ -82,6 +94,14 @@ allprojects {
|
||||
maven {
|
||||
url = uri('https://libraries.minecraft.net')
|
||||
}
|
||||
|
||||
maven {
|
||||
url = uri('https://steamwar.de/maven')
|
||||
credentials {
|
||||
username = steamwarProperties.getProperty("maven.username")
|
||||
password = steamwarProperties.getProperty("maven.password")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren
swdep...