File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
plugins/sonatype/src/main/kotlin/com/powersync/plugins/sonatype Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ public abstract class SonatypeCentralExtension(
1818 public const val NAME : String = " sonatypePublishing"
1919 public const val GROUP : String = " publishing"
2020 public const val REPO_DIR : String = " sonatypeLocal"
21+ public const val UNIFIED_REPO_DIR : String = " testingLocal"
2122 public const val BUNDLE_DIR : String = " sonatypeBundles"
2223
2324 public const val PUBLISH_TASK_NAME : String = " publishAllPublicationsToSonatypeRepository"
@@ -34,7 +35,11 @@ public abstract class SonatypeCentralExtension(
3435 log.info(" Setting up the `:${PUBLISH_LOCAL_TASK_NAME } ` task" )
3536 project.gradlePublishing.repositories.maven { repo ->
3637 repo.name = REPO_DIR
37- repo.url = project.uri(project.rootProject.layout.buildDirectory.dir(REPO_DIR ))
38+ repo.url = project.uri(project.layout.buildDirectory.dir(REPO_DIR ))
39+ }
40+ project.gradlePublishing.repositories.maven { repo ->
41+ repo.name = UNIFIED_REPO_DIR
42+ repo.url = project.uri(project.rootProject.layout.buildDirectory.dir(UNIFIED_REPO_DIR ))
3843 }
3944
4045 log.info(" Setting up the `:${COMPONENT_BUNDLE_TASK_NAME } ` task" )
You can’t perform that action at this time.
0 commit comments