GroupID and some other things changed from "iospin" to "sergeych"
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:
PlaceboAddict committed 2025-01-31 20:51:54 +03:00
1 parent 186db7478a
commit 3334a967b1
3 files changed
+17 -32

No files matched your search

@@ -33,21 +33,12 @@ plugins {
}
val sonatypeStaging = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
val sonatypeSnapshots = "https://oss.sonatype.org/content/repositories/snapshots/"
val sonatypePassword: String? by project
val sonatypeUsername: String? by project
val sonatypePasswordEnv: String? = System.getenv()["SONATYPE_PASSWORD"]
val sonatypeUsernameEnv: String? = System.getenv()["SONATYPE_USERNAME"]
repositories {
mavenCentral()
mavenLocal()
maven {
url = uri("https://oss.sonatype.org/content/repositories/snapshots")
maven("https://gitea.sergeych.net/api/packages/SergeychWorks/maven")
}
}
@@ -789,12 +780,16 @@ signing {
}
publishing {
val mavenToken by lazy {
File("${System.getProperty("user.home")}/.gitea_token").readText()
}
publications.withType(MavenPublication::class) {
artifact(tasks["javadocJar"])
pom {
name.set("Kotlin Multiplatform Crypto")
description.set("Kotlin Multiplatform Libsodium Wrapper")
url.set("https://github.com/ionspin/kotlin-multiplatform-crypto")
url.set("https://gitea.sergeych.net/SergeychWorks/libsodium_wasm_experimental")
licenses {
license {
name.set("The Apache License, Version 2.0")
@@ -809,30 +804,20 @@ publishing {
}
}
scm {
url.set("https://github.com/ionspin/kotlin-multiplatform-libsodium")
connection.set("scm:git:git://git@github.com:ionspin/kotlin-multiplatform-libsodium.git")
developerConnection.set("scm:git:ssh://git@github.com:ionspin/kotlin-multiplatform-libsodium.git")
url.set("https://gitea.sergeych.net/SergeychWorks/libsodium_wasm_experimental")
}
}
}
repositories {
maven {
url = uri(sonatypeStaging)
credentials {
username = sonatypeUsername ?: sonatypeUsernameEnv ?: ""
password = sonatypePassword ?: sonatypePasswordEnv ?: ""
credentials(HttpHeaderCredentials::class) {
name = "Authorization"
value = mavenToken
}
}
maven {
name = "snapshot"
url = uri(sonatypeSnapshots)
credentials {
username = sonatypeUsername ?: sonatypeUsernameEnv ?: ""
password = sonatypePassword ?: sonatypePasswordEnv ?: ""
url = uri("https://gitea.sergeych.net/api/packages/SergeychWorks/maven")
authentication {
create("Authorization", HttpHeaderAuthentication::class)
}
}
}