[gson] Use self-hosted
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Johannes Frohnmeyer 2022-11-03 15:23:59 +01:00
parent c1d5aba9d7
commit d1210e2f10
Signed by: Johannes
GPG Key ID: E76429612C2929F4
3 changed files with 3 additions and 9 deletions

View File

@ -1,14 +1,8 @@
import java.util.Calendar
plugins {
id("commons.library")
}
var cl = Calendar.getInstance()
var day = "${cl.get(Calendar.YEAR)}.${cl.get(Calendar.MONTH) + 1}.${cl.get(Calendar.DATE)}"
var time = "${cl.get(Calendar.HOUR_OF_DAY)}-${cl.get(Calendar.MINUTE)}-${cl.get(Calendar.SECOND)}"
version = "$day+$time"
version = "1.0-SNAPSHOT"
publishing {
publications {

View File

@ -7,7 +7,7 @@ version = rootProject.version
repositories {
mavenCentral()
maven("https://gitlab.com/api/v4/projects/35030495/packages/maven")
maven("https://maven.frohnmeyer-wds.de/artifacts/")
}
dependencies {

View File

@ -4,7 +4,7 @@ plugins {
}
dependencies {
shadow(implementation("io.gitlab.jfronny:gson:2.9.2-20220914.175359-3")!!)
shadow(implementation("io.gitlab.jfronny:gson:2.11-SNAPSHOT")!!)
implementation(project(":"))
testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.0")