From 84ef675f476335a8e7dde40a1c8027ddf3887572 Mon Sep 17 00:00:00 2001 From: LamGC Date: Sun, 25 Sep 2022 10:10:42 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7=E5=92=8C=E4=BE=9D=E8=B5=96=E9=A1=B9.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle.kts | 37 ++++++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 9b9850b..47a3308 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -6,7 +6,7 @@ plugins { } group = "net.lamgc.scext" -version = "0.0.1-SNAPSHOT" +version = "0.0.2-SNAPSHOT" repositories { mavenLocal() @@ -28,7 +28,7 @@ dependencies { implementation("org.ktorm:ktorm-core:3.5.0") implementation("org.jetbrains.kotlin:kotlin-reflect:1.6.20") - implementation("org.xerial:sqlite-jdbc:3.36.0.3") + implementation("org.xerial:sqlite-jdbc:3.39.3.0") implementation("com.esotericsoftware.kryo:kryo5:5.3.0") @@ -47,19 +47,26 @@ tasks.withType { publishing { repositories { - if (project.version.toString().endsWith("-SNAPSHOT")) { - maven("https://nexus.kuku.me/repository/maven-snapshots/") { - credentials { - username = project.properties["repo.credentials.private.username"].toString() - password = project.properties["repo.credentials.private.password"].toString() - } - } - } else { - maven("https://nexus.kuku.me/repository/maven-releases/") { - credentials { - username = project.properties["repo.credentials.private.username"].toString() - password = project.properties["repo.credentials.private.password"].toString() - } +// if (project.version.toString().endsWith("-SNAPSHOT")) { +// maven("https://nexus.kuku.me/repository/maven-snapshots/") { +// credentials { +// username = project.properties["repo.credentials.private.username"].toString() +// password = project.properties["repo.credentials.private.password"].toString() +// } +// } +// } else { +// maven("https://nexus.kuku.me/repository/maven-releases/") { +// credentials { +// username = project.properties["repo.credentials.private.username"].toString() +// password = project.properties["repo.credentials.private.password"].toString() +// } +// } +// } + + maven("https://git.lamgc.me/api/packages/LamGC/maven") { + credentials { + username = project.properties["repo.credentials.self-git.username"].toString() + password = project.properties["repo.credentials.self-git.password"].toString() } } }