Skip to content

Commit

Permalink
Revert "rename modules and override artifact id at publication"
Browse files Browse the repository at this point in the history
This reverts commit 684272e.
  • Loading branch information
pm47 committed Nov 13, 2024
1 parent 009267a commit 6bb61ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions modules/core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ kotlin {

fun DefaultCInteropSettings.configureFor(platform: String) {
val interopTask = tasks[interopProcessingTaskName]
interopTask.dependsOn(":ios-crypto:buildCrypto$platform")
interopTask.dependsOn(":lightning-kmp-ios-crypto:buildCrypto$platform")
val libPath = "$rootDir/modules/ios-crypto/build/Release-${platform.lowercase()}"
extraOpts("-libraryPath", libPath)
includeDirs.headerFilterOnly("$libPath/include")
Expand Down Expand Up @@ -180,7 +180,6 @@ val javadocJar = tasks.create<Jar>("javadocJar") {

publishing {
publications.withType<MavenPublication>().configureEach {
artifactId = "${rootProject.name}-${project.name}"
version = project.version.toString()
artifact(javadocJar)
pom {
Expand Down
8 changes: 4 additions & 4 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ dependencyResolutionManagement {

rootProject.name = "lightning-kmp"

include(":ios-crypto")
include(":core")
include(":lightning-kmp-ios-crypto")
include(":lightning-kmp-core")

project(":ios-crypto").projectDir = file("./modules/ios-crypto")
project(":core").projectDir = file("./modules/core")
project(":lightning-kmp-ios-crypto").projectDir = file("./modules/ios-crypto")
project(":lightning-kmp-core").projectDir = file("./modules/core")

0 comments on commit 6bb61ba

Please sign in to comment.