migrated to gitea
All checks were successful
CI / build (push) Successful in 1m42s

This commit is contained in:
2024-04-05 07:09:05 +08:00
parent 0d5629f298
commit 1b5add5d4c
3 changed files with 9 additions and 10 deletions

View File

@@ -13,7 +13,7 @@ allprojects {
repositories {
maven {
url = woggioniMavenRepositoryUrl
url = getProperty('gitea.maven.url')
}
mavenCentral()
}
@@ -25,12 +25,12 @@ kotlin {
dependencies {
implementation group: 'org.jetbrains.kotlin',
name: 'kotlin-test',
version: catalog.versions.kotlin.get()
version: catalog.versions.kotlin.asProvider().get()
}
}
}
jvm {
jvmToolchain(17)
jvmToolchain(21)
withJava()
compilations.main {
Action<KotlinJvmCompilerOptions> action = { KotlinJvmCompilerOptions kjco ->
@@ -73,7 +73,7 @@ publishing {
repositories {
maven {
name = "Gitea"
url = uri("https://woggioni.net/gitea/api/packages/woggioni/maven")
url = uri(getProperty('gitea.maven.url'))
credentials(HttpHeaderCredentials) {
name = "Authorization"