aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornea <romangraef@gmail.com>2022-10-14 23:00:15 +0200
committernea <romangraef@gmail.com>2022-10-14 23:00:15 +0200
commit4e168cf3ed64dca11e22eaa63015fa798fd753a0 (patch)
treea55ae69b6f196efc3b566fbe0ee0612a53c3c47b
parent5a2a346268c91664384623afac97fc74e69dccf3 (diff)
downloadlibautoupdate-4e168cf3ed64dca11e22eaa63015fa798fd753a0.tar.gz
libautoupdate-4e168cf3ed64dca11e22eaa63015fa798fd753a0.tar.bz2
libautoupdate-4e168cf3ed64dca11e22eaa63015fa798fd753a0.zip
add publishing and drone pipeline
-rw-r--r--.drone.yml9
-rw-r--r--build.gradle.kts10
2 files changed, 18 insertions, 1 deletions
diff --git a/.drone.yml b/.drone.yml
new file mode 100644
index 0000000..c18bd7c
--- /dev/null
+++ b/.drone.yml
@@ -0,0 +1,9 @@
+kind: pipeline
+type: docker
+name: default
+
+steps:
+ - name: Build
+ image: eclipse-temurin:8-alpine
+ commands:
+ - ./gradlew build \ No newline at end of file
diff --git a/build.gradle.kts b/build.gradle.kts
index 2cf2eb9..d323f7a 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -64,5 +64,13 @@ publishing {
}
}
}
- repositories { }
+ repositories {
+ maven("https://repo.nea.moe/releases") {
+ name = "neamoeReleases"
+ credentials(PasswordCredentials::class)
+ authentication {
+ create<BasicAuthentication>("basic")
+ }
+ }
+ }
}