Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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?

Expand Down
4 changes: 2 additions & 2 deletions utils/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
Loading