GroupID and some other things changed from "iospin" to "sergeych"
Some checks are pending
Some checks are pending
This commit is contained in:
parent
186db7478a
commit
3334a967b1
@ -37,12 +37,12 @@ allprojects {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
google()
|
google()
|
||||||
maven {
|
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 {
|
apply {
|
||||||
|
@ -36,7 +36,7 @@ object Versions {
|
|||||||
}
|
}
|
||||||
|
|
||||||
object ReleaseInfo {
|
object ReleaseInfo {
|
||||||
val group = "com.ionspin.kotlin"
|
val group = "net.sergeych"
|
||||||
val bindingsVersion = "0.9.4-SNAPSHOT"
|
val bindingsVersion = "0.9.4-SNAPSHOT"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -54,7 +54,7 @@ object Deps {
|
|||||||
|
|
||||||
val apiProject = ":multiplatform-crypto-api"
|
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}"
|
val kodein = "org.kodein.di:kodein-di:${Versions.kodeinVersion}"
|
||||||
}
|
}
|
||||||
|
@ -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 {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
mavenLocal()
|
mavenLocal()
|
||||||
maven {
|
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 {
|
publishing {
|
||||||
|
val mavenToken by lazy {
|
||||||
|
File("${System.getProperty("user.home")}/.gitea_token").readText()
|
||||||
|
}
|
||||||
|
|
||||||
publications.withType(MavenPublication::class) {
|
publications.withType(MavenPublication::class) {
|
||||||
artifact(tasks["javadocJar"])
|
artifact(tasks["javadocJar"])
|
||||||
pom {
|
pom {
|
||||||
name.set("Kotlin Multiplatform Crypto")
|
name.set("Kotlin Multiplatform Crypto")
|
||||||
description.set("Kotlin Multiplatform Libsodium Wrapper")
|
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 {
|
licenses {
|
||||||
license {
|
license {
|
||||||
name.set("The Apache License, Version 2.0")
|
name.set("The Apache License, Version 2.0")
|
||||||
@ -809,30 +804,20 @@ publishing {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
scm {
|
scm {
|
||||||
url.set("https://github.com/ionspin/kotlin-multiplatform-libsodium")
|
url.set("https://gitea.sergeych.net/SergeychWorks/libsodium_wasm_experimental")
|
||||||
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")
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
|
credentials(HttpHeaderCredentials::class) {
|
||||||
url = uri(sonatypeStaging)
|
name = "Authorization"
|
||||||
credentials {
|
value = mavenToken
|
||||||
username = sonatypeUsername ?: sonatypeUsernameEnv ?: ""
|
|
||||||
password = sonatypePassword ?: sonatypePasswordEnv ?: ""
|
|
||||||
}
|
}
|
||||||
}
|
url = uri("https://gitea.sergeych.net/api/packages/SergeychWorks/maven")
|
||||||
|
authentication {
|
||||||
maven {
|
create("Authorization", HttpHeaderAuthentication::class)
|
||||||
name = "snapshot"
|
|
||||||
url = uri(sonatypeSnapshots)
|
|
||||||
credentials {
|
|
||||||
username = sonatypeUsername ?: sonatypeUsernameEnv ?: ""
|
|
||||||
password = sonatypePassword ?: sonatypePasswordEnv ?: ""
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user