Code library shared amongst the Webapp and Android applications.
mvn clean
mvn compile
To perform a release, follow these steps:
- Merge your PR into the
main
branch - Wait for the "Maven Release" workflow to complete
- Ensure that the new release version appears at https://jitpack.io/#ai.elimu/model with "Status: ok"
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:
If the PR that you merged contains breaking changes, go to https://github.com/elimu-ai/model/tags and press "Create release." Then write instructions on how to handle the breaking changes.
After each release, the resulting .jar
file gets uploaded to https://jitpack.io/#ai.elimu/model
./build.gradle
:
repositories {
mavenCentral()
+ maven { url "https://jitpack.io" }
}
./app/build.gradle
:
dependencies {
implementation 'ai.elimu:model:<version>'
}
./pom.xml
:
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
<dependency>
<groupId>ai.elimu</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 π