Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to mavencentral publishing portal #406

Merged
merged 1 commit into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion gradle/build-logic/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion gradle/build-logic/src/main/kotlin/kotlinMPP.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ kotlin {
jvmToolchain(8)

jvm()
js(IR) {
js {
browser()
nodejs()
}
Expand Down
1 change: 1 addition & 0 deletions gradle/build-logic/src/main/kotlin/publish.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id("maven-publish")
id("signing")
id("io.github.hfhbd.mavencentral")
}

val emptyJar by tasks.registering(Jar::class)
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading