You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,15 @@ See https://jitpack.io/#elimu-ai/content-provider/ for the latest version availa
44
44
> [!TIP]
45
45
> To find all Android app repos that depend on this library, go to https://github.com/search?q=org%3Aelimu-ai+com.github.elimu-ai%3Acontent-provider%3A&type=code
46
46
47
+
### To publish a snapshot for local development & testing:
48
+
49
+
1. Change `versionName`, `versionCode` and publication `version` in https://github.com/elimu-ai/content-provider/blob/main/utils/build.gradle
50
+
2. Under `publishing` -> `repositories` block: Replace the existing `maven` repo by `mavenLocal()`
51
+
3. Run `./gradlew clean utils:publishReleasePublicationToMavenLocal` from project's root folder
52
+
4. In app side: Add `mavenLocal()` to `repositsories` block in `build.gradle` script
53
+
5. Implement `ai.elimu.content_provider:utils:$snapshot_version` in app's `build.gradle` file
54
+
55
+
47
56
### Usage Example
48
57
49
58
For an example of another Android app using the `utils` library, see the Vitabu app's Gradle configuration:
0 commit comments