diff --git a/README.md b/README.md index 52d8c60..163dd5c 100644 --- a/README.md +++ b/README.md @@ -42,13 +42,10 @@ So, make sure you have Hilt & kapt imported in your projects via below check-lis ### How to publish a snapshot for local development & testing? -1. Change the `libVersion` and `versionCode` in https://github.com/elimu-ai/common-utils/blob/main/utils/build.gradle -2. Under `publishing` -> `repositories` block in the same Gradle script: Replace the existing `maven` repo by `mavenLocal()` -3. Run `./gradlew clean utils:publishReleasePublicationToMavenLocal` from project's root folder -4. In app side: Add `mavenLocal()` to `repositories` block in `build.gradle` script -5. Implement `ai.elimu.common:utils:$snapshot_version` in app's `build.gradle` file -6. You're now ready to test the snapshot! - +1. Under `publishing` -> `repositories` block in the same Gradle script: Replace the existing `maven` repo by `mavenLocal()` +2. Run `./gradlew clean utils:publishReleasePublicationToMavenLocal` from project's root folder +3. In app side: Add `mavenLocal()` to the `repositories` block in `build.gradle` script +4. You're now ready to test the `-SNAPSHOT` version! ## How to release a new version? diff --git a/utils/build.gradle b/utils/build.gradle index 0409791..c426251 100644 --- a/utils/build.gradle +++ b/utils/build.gradle @@ -7,8 +7,8 @@ plugins { id 'org.ajoberstar.grgit' } -def utilsGroupId = "ai.elimu.common" -def utilsArtifactId = "utils" +def utilsGroupId = "ai.elimu" +def utilsArtifactId = "common-utils" def utilsVersionCode = 1000013 def utilsVersionName = '1.0.13-SNAPSHOT'