From 2764ac13e10a1d8443c1dc88fafddebe11f14408 Mon Sep 17 00:00:00 2001 From: Hamza Ali Date: Sun, 29 Mar 2020 14:35:44 +0700 Subject: [PATCH] add gitlab cli --- .gitlab-ci.yml | 19 +++++++++++++++++++ build.gradle | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .gitlab-ci.yml 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 {