From 7d869b67eccd948ca088a971a269f5aecc019b46 Mon Sep 17 00:00:00 2001 From: Martin Ndegwa Date: Sat, 14 Sep 2024 10:41:33 +0300 Subject: [PATCH] Publish Kujaku ALPHA snapshot --- .github/workflows/library.yml | 11 +---------- .github/workflows/utils.yml | 9 --------- library/build.gradle | 4 ++-- utils/build.gradle | 2 +- 4 files changed, 4 insertions(+), 22 deletions(-) diff --git a/.github/workflows/library.yml b/.github/workflows/library.yml index a908541d..d6057597 100644 --- a/.github/workflows/library.yml +++ b/.github/workflows/library.yml @@ -46,16 +46,7 @@ jobs: run: git fetch origin master && git rev-list --first-parent --count origin/master - name: Clean project - run: ./gradlew clean --stacktrace - - - name: Build project skipping tests - run: ./gradlew build -x test --stacktrace - - - name: Run Instrumented Tests manually - uses: reactivecircus/android-emulator-runner@v2 - with: - api-level: 34 - script: ./gradlew :library:connectedDebug --stacktrace --info + run: ./gradlew clean --stacktrace - name: Run unit tests with Gradle run: ./gradlew :library:clean :library:testDebugUnitTest --stacktrace diff --git a/.github/workflows/utils.yml b/.github/workflows/utils.yml index 178f3d83..9fcd44c8 100644 --- a/.github/workflows/utils.yml +++ b/.github/workflows/utils.yml @@ -48,15 +48,6 @@ jobs: - name: Clean project run: ./gradlew clean --stacktrace - - name: Build project skipping tests - run: ./gradlew build -x test --stacktrace - - - name: Run Instrumented Tests manually - uses: reactivecircus/android-emulator-runner@v2 - with: - api-level: 34 - script: ./gradlew :utils:connectedDebug --stacktrace - - name: Generate & upload utils snapshot artifact AAR (Android Archive) file to Sonatype run: ./gradlew :utils:clean --stacktrace && ./gradlew :utils:assembleRelease --stacktrace && ./gradlew :utils:publishMavenJavaPublicationToMavenCentralRepository --stacktrace diff --git a/library/build.gradle b/library/build.gradle index c8f54c5d..f61fda50 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -13,7 +13,7 @@ buildscript { apply plugin: 'realm-android' apply plugin: 'maven-publish' -version '0.10.6-SNAPSHOT' +version '0.10.6-ALPHA-SNAPSHOT' project.version = this.version @@ -122,7 +122,7 @@ dependencies { configuration -> // Comment the line below when creating releases - The line is for development of the library & utils //implementation (project(":utils")) { // Uncomment the line below when creating releases - implementation('io.ona.kujaku:utils:0.10.5-SNAPSHOT') { + implementation('io.ona.kujaku:utils:0.10.6-ALPHA-SNAPSHOT') { transitive = true; exclude group: 'com.mapbox.mapboxsdk', module: 'mapbox-android-sdk' exclude group: 'com.android.support', module: 'support-v4' diff --git a/utils/build.gradle b/utils/build.gradle index fb65ccbc..b84dbaaa 100644 --- a/utils/build.gradle +++ b/utils/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'com.android.library' apply plugin: 'maven-publish' apply plugin: 'jacoco' -version '0.10.6-SNAPSHOT' +version '0.10.6-ALPHA-SNAPSHOT' project.version = this.version