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

View File

@ -37,12 +37,12 @@ allprojects {
mavenCentral()
google()
maven {
url = uri("https://oss.sonatype.org/content/repositories/snapshots")
url = uri("gitea.sergeych.net/aphttps://oss.sonatype.org/content/repositories/snapshotsi/packages/SergeychWorks/maven")
}
}
}
group = "com.ionspin.kotlin"
group = ReleaseInfo.group
apply {

View File

@ -36,7 +36,7 @@ object Versions {
}
object ReleaseInfo {
val group = "com.ionspin.kotlin"
val group = "net.sergeych"
val bindingsVersion = "0.9.4-SNAPSHOT"
}
@ -54,7 +54,7 @@ object Deps {
val apiProject = ":multiplatform-crypto-api"
val libsodiumBindings = "com.ionspin.kotlin:multiplatform-crypto-libsodium-bindings:${Versions.sampleLibsodiumBindings}"
val libsodiumBindings = "net.sergeych:libsodium-wasm-experimental:${Versions.sampleLibsodiumBindings}"
val kodein = "org.kodein.di:kodein-di:${Versions.kodeinVersion}"
}

View File

@ -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)
}
}
}