From a6b0ec272d1241e4fc45e4be22b764f1b19a9080 Mon Sep 17 00:00:00 2001 From: Martin Ndegwa Date: Tue, 22 Aug 2023 18:26:32 +0300 Subject: [PATCH] Engine, SDC, Workflow, Common, Knowledge - With unmerged PR https://github.com/google/android-fhir/pull/2032 - With unmerged PR https://github.com/opensrp/android-fhir/pull/1 - With unmerged PR https://github.com/google/android-fhir/pull/1669 - With unmerged PR https://github.com/google/android-fhir/pull/2132 - With unmerged PR https://github.com/opensrp/android-fhir/pull/9 --- buildSrc/src/main/kotlin/Releases.kt | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/buildSrc/src/main/kotlin/Releases.kt b/buildSrc/src/main/kotlin/Releases.kt index 1d49065c4e..2c0de7c5ce 100644 --- a/buildSrc/src/main/kotlin/Releases.kt +++ b/buildSrc/src/main/kotlin/Releases.kt @@ -15,7 +15,6 @@ */ import org.gradle.api.Project -import org.gradle.api.artifacts.repositories.PasswordCredentials import org.gradle.api.publish.PublishingExtension import org.gradle.api.publish.maven.MavenPublication import org.gradle.kotlin.dsl.configure @@ -43,25 +42,25 @@ object Releases { object Common : LibraryArtifact { override val artifactId = "common" - override val version = "0.1.0-alpha04" + override val version = "0.1.0-alpha04-preview1-SNAPSHOT" override val name = "Android FHIR Common Library" } object Engine : LibraryArtifact { override val artifactId = "engine" - override val version = "0.1.0-beta03-preview8-SNAPSHOT" + override val version = "0.1.0-beta03-preview10-SNAPSHOT" override val name = "Android FHIR Engine Library" } object DataCapture : LibraryArtifact { override val artifactId = "data-capture" - override val version = "1.0.0-preview9-SNAPSHOT" + override val version = "1.0.0-preview15-SNAPSHOT" override val name = "Android FHIR Structured Data Capture Library" } object Workflow : LibraryArtifact { override val artifactId = "workflow" - override val version = "0.1.0-alpha03" + override val version = "0.1.0-alpha03-preview1-SNAPSHOT" override val name = "Android FHIR Workflow Library" } @@ -75,7 +74,7 @@ object Releases { object Knowledge : LibraryArtifact { override val artifactId = "knowledge" - override val version = "0.1.0-alpha01-preview-SNAPSHOT" + override val version = "0.1.0-alpha01-preview2-SNAPSHOT" override val name = "Android FHIR Knowledge Manager Library" } @@ -127,11 +126,13 @@ fun Project.publishArtifact(artifact: LibraryArtifact) { artifact.version } } - maven { - credentials(PasswordCredentials::class) - url = uri("https://oss.sonatype.org/content/repositories/snapshots") - name = "sonatype" - } + // Weird quirk, build fails with this entry. Reverting to individual configuration per + // module + // maven { + // credentials(PasswordCredentials::class) + // url = uri("https://oss.sonatype.org/content/repositories/snapshots") + // name = "sonatype" + // } } } }