diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..08411c7 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,19 @@ +image: java:8-jdk + +before_script: + - chmod 777 ./* + +stages: + - build + +build: + stage: build + script: + - ./gradlew clean shadowJar + artifacts: + name: latest + paths: + - ./build/libs/*.jar + expire_in: 50 yrs + only: + - master diff --git a/build.gradle b/build.gradle index 3c70736..a0a0f0f 100644 --- a/build.gradle +++ b/build.gradle @@ -17,7 +17,7 @@ dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8" implementation "com.github.hazae41:mc-kutils:master-SNAPSHOT" compileOnly "com.github.MilkBowl:VaultAPI:1.7" - compileOnly "org.spigotmc:spigot-api:1.8.8-R0.1-SNAPSHOT" + compileOnly "org.spigotmc:spigot-api:1.12.2-R0.1-SNAPSHOT" } shadowJar {