Skip to content

Commit

Permalink
fix: failure
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicGBauer committed Dec 9, 2024
1 parent 808d310 commit f6509ef
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions PowerSyncKotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,13 @@ class SonatypePortalPublishArtifactManager(
) : ArtifactManager {
private val group: String = project.group.toString().replace(".", "/")
private val kmmbridgeArtifactId =
"powersync-$artifactSuffix"
"${project.name}-$artifactSuffix"
private val zipName = "powersync-$artifactSuffix"
private val LIBRARY_VERSION: String by project

// This is the URL that will be added to Package.swift in Github package so that
// KMMBridge is downloaded when a user includes the package in XCode
private val MAVEN_CENTRAL_PACKAGE_ZIP_URL = "https://repo1.maven.org/maven2/com/powersync/${kmmbridgeArtifactId.lowercase()}/${LIBRARY_VERSION}/${kmmbridgeArtifactId.lowercase()}-${LIBRARY_VERSION}.zip"
private val MAVEN_CENTRAL_PACKAGE_ZIP_URL = "https://repo1.maven.org/maven2/com/powersync/${zipName}/${LIBRARY_VERSION}/${zipName}-${LIBRARY_VERSION}.zip"

override fun deployArtifact(
project: Project,
Expand Down

0 comments on commit f6509ef

Please sign in to comment.