diff --git a/build.gradle.kts b/build.gradle.kts index cf9bb70..4917c28 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -7,7 +7,6 @@ import io.gitlab.arturbosch.detekt.* plugins { id("org.jetbrains.kotlinx.binary-compatibility-validator") - id("io.github.gradle-nexus.publish-plugin") id("org.jetbrains.dokka") id("io.gitlab.arturbosch.detekt") } @@ -16,15 +15,6 @@ tasks.dokkaHtmlMultiModule { includes.from("README.md") } -nexusPublishing { - this.repositories { - sonatype { - nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/")) - snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")) - } - } -} - detekt { source.from(files(rootProject.rootDir)) parallel = true diff --git a/gradle/build-logic/build.gradle.kts b/gradle/build-logic/build.gradle.kts index 4ee0950..4bb823a 100644 --- a/gradle/build-logic/build.gradle.kts +++ b/gradle/build-logic/build.gradle.kts @@ -7,7 +7,7 @@ dependencies { implementation(libs.plugins.kotlin.parcelize.toDep()) implementation(libs.plugins.android.toDep()) implementation(libs.plugins.binary.toDep()) - implementation(libs.plugins.publish.toDep()) + implementation(libs.plugins.mavencentral.toDep()) implementation(libs.plugins.dokka.toDep()) implementation(libs.plugins.licensee.toDep()) implementation(libs.plugins.kover.toDep()) diff --git a/gradle/build-logic/src/main/kotlin/kotlinMPP.gradle.kts b/gradle/build-logic/src/main/kotlin/kotlinMPP.gradle.kts index 5dc1e92..1dde7f4 100644 --- a/gradle/build-logic/src/main/kotlin/kotlinMPP.gradle.kts +++ b/gradle/build-logic/src/main/kotlin/kotlinMPP.gradle.kts @@ -8,7 +8,7 @@ kotlin { jvmToolchain(8) jvm() - js(IR) { + js { browser() nodejs() } diff --git a/gradle/build-logic/src/main/kotlin/publish.gradle.kts b/gradle/build-logic/src/main/kotlin/publish.gradle.kts index 724391a..2cd3913 100644 --- a/gradle/build-logic/src/main/kotlin/publish.gradle.kts +++ b/gradle/build-logic/src/main/kotlin/publish.gradle.kts @@ -1,6 +1,7 @@ plugins { id("maven-publish") id("signing") + id("io.github.hfhbd.mavencentral") } val emptyJar by tasks.registering(Jar::class) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 19f7bd9..e82cfab 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -20,7 +20,7 @@ kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", versi kotlin-parcelize = { id = "org.jetbrains.kotlin.plugin.parcelize", version.ref = "kotlin" } android = { id = "com.android.application", version = "8.7.2" } binary = { id = "org.jetbrains.kotlinx.binary-compatibility-validator", version = "0.16.3" } -publish = { id = "io.github.gradle-nexus.publish-plugin", version = "2.0.0" } +mavencentral = { id = "io.github.hfhbd.mavencentral", version = "0.0.14" } dokka = { id = "org.jetbrains.dokka", version = "1.9.20" } licensee = { id = "app.cash.licensee", version = "1.12.0" } kover = { id = "org.jetbrains.kotlinx.kover", version = "0.8.3" } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 9355b41..a76eeff 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.11-rc-2-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME