From 20344106afb988819cec133ce56829aec50a9939 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sun, 15 Jan 2023 12:24:53 +0100 Subject: [PATCH] Adjust CI --- build.gradle | 9 ++++++--- steamwarci.yml | 3 +-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index f5b995f..7cdd1cd 100644 --- a/build.gradle +++ b/build.gradle @@ -18,9 +18,8 @@ */ -import org.apache.tools.ant.taskdefs.condition.Os -import java.util.function.BiConsumer +import org.apache.tools.ant.taskdefs.condition.Os plugins { // Adding the base plugin fixes the following gradle warnings in IntelliJ: @@ -81,6 +80,10 @@ sourceSets { repositories { mavenCentral() + + maven { + url = uri('https://hub.spigotmc.org/nexus/content/repositories/snapshots/') + } } dependencies { @@ -89,7 +92,7 @@ dependencies { annotationProcessor 'org.projectlombok:lombok:1.18.22' testAnnotationProcessor 'org.projectlombok:lombok:1.18.22' - compileOnly files("${projectDir}/lib/Spigot-1.12.jar") + compileOnly 'org.spigotmc:spigot-api:1.19-R0.1-SNAPSHOT' } task buildProject { diff --git a/steamwarci.yml b/steamwarci.yml index 7669402..4f98e6c 100644 --- a/steamwarci.yml +++ b/steamwarci.yml @@ -1,7 +1,6 @@ build: - - "ln -s /home/gitea/lib" - - "cp ~/gradle.properties ." - "./gradlew buildProject" + - "./gradlew --stop" artifacts: "/binarys/realtime.jar": "build/libs/realtime.jar"