Skip to content

Commit

Permalink
build(deps): Remove nexus-publish
Browse files Browse the repository at this point in the history
  • Loading branch information
YuKongA committed Aug 20, 2024
1 parent c4f21d0 commit 35fc5b9
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 27 deletions.
4 changes: 0 additions & 4 deletions convention-plugins/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
plugins {
`kotlin-dsl`
}

dependencies {
implementation(libs.nexus.publish)
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ publishing {
}

signing {
if (project.hasProperty("signing.gnupg.keyName")) {
useGpgCmd()
sign(publishing.publications)
}
useGpgCmd()
sign(publishing.publications)
}
17 changes: 1 addition & 16 deletions convention-plugins/src/main/kotlin/root.publication.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,19 +1,4 @@
plugins {
id("io.github.gradle-nexus.publish-plugin")
}

allprojects {
group = "top.yukonga.miuix.kmp"
version = "0.0.1"
}

//nexusPublishing {
// // Configure maven central repository
// // https://github.com/gradle-nexus/publish-plugin#publishing-to-maven-central-via-sonatype-ossrh
// repositories {
// sonatype { //only for users registered in Sonatype after 24 Feb 2021
// nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
// snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
// }
// }
//}
}
2 changes: 0 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,11 @@ androidx-window = "1.3.0"
compose-plugin = "1.7.0-alpha02"
haze = "0.9.0-alpha06"
kotlin = "2.0.20-RC2"
nexus-publish = "2.0.0"

[libraries]
androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidx-activity-compose" }
androidx-window = { group = "androidx.window", name = "window", version.ref = "androidx-window" }
haze = { module = "dev.chrisbanes.haze:haze", version.ref = "haze" }
nexus-publish = { module = "io.github.gradle-nexus.publish-plugin:io.github.gradle-nexus.publish-plugin.gradle.plugin", version.ref = "nexus-publish" }

[plugins]
android-application = { id = "com.android.application", version.ref = "androidGradlePlugin" }
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ dependencyResolutionManagement {
}
}

rootProject.name = "miuix-kotlin-multiplatform"
rootProject.name = "miuix"
include(":miuix", ":composeApp")

0 comments on commit 35fc5b9

Please sign in to comment.