Fixig publication again
Some checks are pending
Build project and push to maven snapshot / Build-And-Push-Linux (push) Waiting to run
Build project and push to maven snapshot / Build-And-Push-Mac (push) Waiting to run
Build project and push to maven snapshot / Build-And-Push-Windows (push) Waiting to run

This commit is contained in:
kildishevps 2025-02-02 18:58:02 +03:00
parent c87a0cf24c
commit 8a2bbb3e33
3 changed files with 5 additions and 30 deletions

View File

@ -36,7 +36,7 @@ allprojects {
repositories { repositories {
mavenCentral() mavenCentral()
google() google()
maven("https://gitea.sergeych.net/api/packages/SergeychWorks/maven") maven("https://gitea.sergeych.net/api/packages/PrincessSpike/maven")
} }
} }

View File

@ -37,7 +37,7 @@ plugins {
repositories { repositories {
mavenCentral() mavenCentral()
mavenLocal() mavenLocal()
maven("https://gitea.sergeych.net/api/packages/SergeychWorks/maven") maven("https://gitea.sergeych.net/api/packages/PrincessSpike/maven")
} }
group = ReleaseInfo.group group = ReleaseInfo.group
@ -778,33 +778,8 @@ signing {
} }
publishing { publishing {
publications.withType(MavenPublication::class) {
artifact(tasks["javadocJar"])
pom {
name.set("Kotlin Multiplatform Crypto")
description.set("Kotlin Multiplatform Libsodium Wrapper")
url.set("https://gitea.sergeych.net/SergeychWorks/libsodium_wasm_experimental")
licenses {
license {
name.set("The Apache License, Version 2.0")
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
}
}
developers {
developer {
id.set("ionspin")
name.set("Ugljesa Jovanovic")
email.set("opensource@ionspin.com")
}
}
scm {
url.set("https://gitea.sergeych.net/SergeychWorks/libsodium_wasm_experimental")
}
}
}
val mavenToken by lazy { val mavenToken by lazy {
File("${System.getProperty("user.home")}/.gitea_token").readText() ("token " + File("${System.getProperty("user.home")}/.gitea_token").readText())
} }
repositories { repositories {
maven { maven {
@ -812,7 +787,7 @@ publishing {
name = "Authorization" name = "Authorization"
value = mavenToken value = mavenToken
} }
url = uri("https://gitea.sergeych.net/api/packages/SergeychWorks/maven") url = uri("https://gitea.sergeych.net/api/packages/PrincessSpike/maven")
authentication { authentication {
create("Authorization", HttpHeaderAuthentication::class) create("Authorization", HttpHeaderAuthentication::class)
} }

View File

@ -39,7 +39,7 @@ val sonatypeSnapshots = "https://oss.sonatype.org/content/repositories/snapshots
repositories { repositories {
mavenCentral() mavenCentral()
mavenLocal() mavenLocal()
maven("https://gitea.sergeych.net/api/packages/SergeychWorks/maven") maven("https://gitea.sergeych.net/api/packages/PrincessSpike/maven")
} }
group = "net.sergeych" group = "net.sergeych"