SteamWar/BauSystem2.0
Archiviert
12
0

Update some stuff
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
yoyosource 2022-06-27 21:17:53 +02:00
Ursprung d13c321ed8
Commit 7bc5c31f59
6 geänderte Dateien mit 19 neuen und 48 gelöschten Zeilen

Datei anzeigen

@ -50,7 +50,7 @@ dependencies {
implementation project(":BauSystem_Main") implementation project(":BauSystem_Main")
compileOnly spigot15 compileOnly swdep('Spigot-1.15')
compileOnly worldEdit15 compileOnly swdep('WorldEdit-1.15')
compileOnly spigotCore compileOnly swdep('SpigotCore')
} }

Datei anzeigen

@ -57,7 +57,7 @@ dependencies {
compileOnly 'com.mojang:authlib:1.5.25' compileOnly 'com.mojang:authlib:1.5.25'
compileOnly 'com.mojang:brigadier:1.0.18' compileOnly 'com.mojang:brigadier:1.0.18'
compileOnly spigot18 compileOnly swdep('Spigot-1.18')
compileOnly worldEdit15 compileOnly swdep('WorldEdit-1.15')
compileOnly spigotCore compileOnly swdep('SpigotCore')
} }

Datei anzeigen

@ -57,7 +57,7 @@ dependencies {
compileOnly 'com.mojang:authlib:1.5.25' compileOnly 'com.mojang:authlib:1.5.25'
compileOnly 'com.mojang:brigadier:1.0.18' compileOnly 'com.mojang:brigadier:1.0.18'
compileOnly spigot19 compileOnly swdep('Spigot-1.19')
compileOnly worldEdit15 compileOnly swdep('WorldEdit-1.15')
compileOnly spigotCore compileOnly swdep('SpigotCore')
} }

Datei anzeigen

@ -60,7 +60,7 @@ dependencies {
compileOnly 'com.mojang:authlib:1.5.25' compileOnly 'com.mojang:authlib:1.5.25'
compileOnly 'io.netty:netty-all:4.1.68.Final' compileOnly 'io.netty:netty-all:4.1.68.Final'
compileOnly spigot19 compileOnly swdep('Spigot-1.19')
compileOnly worldEdit15 compileOnly swdep('WorldEdit-1.15')
compileOnly spigotCore compileOnly swdep('SpigotCore')
} }

Datei anzeigen

@ -36,7 +36,13 @@ plugins {
id 'com.github.johnrengelman.shadow' version '5.0.0' id 'com.github.johnrengelman.shadow' version '5.0.0'
} }
apply from: 'dependencies.gradle' ext.swdep = { s ->
if (file("${rootDir}/lib/${s}.jar").exists()) {
return files("${rootDir}/lib/${s}.jar")
} else {
return "de.steamwar:${s.toLowerCase()}:RELEASE"
}
}
group 'de.steamwar' group 'de.steamwar'
version '' version ''
@ -72,7 +78,6 @@ mainClassName = ''
allprojects { allprojects {
repositories { repositories {
mavenCentral() mavenCentral()
jcenter()
maven { maven {
url = uri("https://raw.githubusercontent.com/yoyosource/YAPION/master/releases") url = uri("https://raw.githubusercontent.com/yoyosource/YAPION/master/releases")

Datei anzeigen

@ -1,34 +0,0 @@
/*
* This file is a part of the SteamWar software.
*
* Copyright (C) 2020 SteamWar.de-Serverteam
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
ext {
spigot19 = depend('Spigot-1.19')
spigot18 = depend('Spigot-1.18')
spigot15 = depend('Spigot-1.15')
worldEdit15 = depend('WorldEdit-1.15')
spigotCore = depend('SpigotCore')
}
private def depend(s) {
if (file("${rootDir}/lib/${s}.jar").exists()) {
return files("${rootDir}/lib/${s}.jar")
} else {
return "de.steamwar:${s.toLowerCase()}:RELEASE"
}
}