mirror of
https://github.com/LamGC/oracle-manager.git
synced 2025-04-29 14:17:33 +00:00
build: 更新版本号和依赖项.
This commit is contained in:
parent
0ac26e621d
commit
84ef675f47
@ -6,7 +6,7 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
group = "net.lamgc.scext"
|
group = "net.lamgc.scext"
|
||||||
version = "0.0.1-SNAPSHOT"
|
version = "0.0.2-SNAPSHOT"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenLocal()
|
mavenLocal()
|
||||||
@ -28,7 +28,7 @@ dependencies {
|
|||||||
|
|
||||||
implementation("org.ktorm:ktorm-core:3.5.0")
|
implementation("org.ktorm:ktorm-core:3.5.0")
|
||||||
implementation("org.jetbrains.kotlin:kotlin-reflect:1.6.20")
|
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")
|
implementation("com.esotericsoftware.kryo:kryo5:5.3.0")
|
||||||
|
|
||||||
@ -47,19 +47,26 @@ tasks.withType<KotlinCompile> {
|
|||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
repositories {
|
repositories {
|
||||||
if (project.version.toString().endsWith("-SNAPSHOT")) {
|
// if (project.version.toString().endsWith("-SNAPSHOT")) {
|
||||||
maven("https://nexus.kuku.me/repository/maven-snapshots/") {
|
// maven("https://nexus.kuku.me/repository/maven-snapshots/") {
|
||||||
credentials {
|
// credentials {
|
||||||
username = project.properties["repo.credentials.private.username"].toString()
|
// username = project.properties["repo.credentials.private.username"].toString()
|
||||||
password = project.properties["repo.credentials.private.password"].toString()
|
// password = project.properties["repo.credentials.private.password"].toString()
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
} else {
|
// } else {
|
||||||
maven("https://nexus.kuku.me/repository/maven-releases/") {
|
// maven("https://nexus.kuku.me/repository/maven-releases/") {
|
||||||
credentials {
|
// credentials {
|
||||||
username = project.properties["repo.credentials.private.username"].toString()
|
// username = project.properties["repo.credentials.private.username"].toString()
|
||||||
password = project.properties["repo.credentials.private.password"].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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user