Code library shared amongst the Webapp and Android applications.
mvn clean
mvn compile
See .github/workflows/maven-release.yml
Note
To perform a release, go to https://github.com/elimu-ai/model/actions/workflows/maven-release.yml, and press "Run workflow."
Important
After you publish a new release, remember to also bump the version in the Webapp repo and all Android app repos that depend on the utils
library:
- https://github.com/elimu-ai/webapp/blob/main/pom.xml
- https://github.com/elimu-ai/appstore/blob/main/gradle/libs.versions.toml
- https://github.com/elimu-ai/content-provider/blob/main/gradle/libs.versions.toml
- analytics
- https://github.com/elimu-ai/launcher/blob/main/gradle/libs.versions.toml
- https://github.com/elimu-ai/common-utils/blob/main/gradle/libs.versions.toml
- https://github.com/elimu-ai/kukariri/blob/main/gradle/libs.versions.toml
- https://github.com/elimu-ai/image-picker/blob/main/app/build.gradle
- https://github.com/elimu-ai/sound-cards/blob/main/app/build.gradle
- https://github.com/elimu-ai/vitabu/blob/main/gradle/libs.versions.toml
- https://github.com/elimu-ai/filamu/blob/main/gradle/libs.versions.toml
- https://github.com/elimu-ai/chat/blob/main/app/build.gradle
Go to https://github.com/elimu-ai/model/tags and press "Create release."
After each release, the resulting .jar
file gets uploaded to https://jitpack.io/#elimu-ai/model
./build.gradle
:
repositories {
maven { url "https://jitpack.io" }
}
./app/build.gradle
:
dependencies {
implementation 'com.github.elimu-ai:model:<version>'
}
./pom.xml
:
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
<dependency>
<groupId>com.github.elimu-ai</groupId>
<artifactId>model</artifactId>
<version>Tag</version>
</dependency>
elimu.ai - Free open-source learning software for out-of-school children β¨π
Website π Β β’Β Wiki π Β β’Β Projects π©π½βπ» Β β’Β Milestones π― Β β’Β Community ππ½ Β β’Β Support π