Skip to content

Commit 86364a9

Browse files
authored
Merge branch 'main' into dependabot/gradle/com.github.elimu-ai-model-model-2.0.93
2 parents edcbf80 + 774bf81 commit 86364a9

2 files changed

Lines changed: 26 additions & 9 deletions

File tree

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Kukariri 🧠
22

33
[![codecov](https://codecov.io/gh/elimu-ai/kukariri/branch/main/graph/badge.svg?token=LFJL11C0TC)](https://codecov.io/gh/elimu-ai/kukariri)
4+
[![Release](https://jitpack.io/v/elimu-ai/kukariri.svg)](https://jitpack.io/#elimu-ai/kukariri)
45

56
Android application which handles the Spaced Repetition System (SRS)
67

@@ -14,6 +15,11 @@ Then, [4 minutes](https://github.com/elimu-ai/kukariri/blob/main/app/src/main/ja
1415

1516
![WordAssessmentActivity](https://github.com/user-attachments/assets/e6c5cf75-13f6-4b8b-9978-3756e52dd0a7)
1617

18+
## Installation
19+
20+
> [!IMPORTANT]
21+
> Note: This app depends on the [elimu.ai Content Provider](https://github.com/elimu-ai/content-provider) to be installed.
22+
1723
## Development 👩🏽‍💻
1824

1925
Compile APK:
@@ -25,7 +31,7 @@ Compile APK:
2531
Install APK:
2632

2733
```
28-
adb install app/build/outputs/apk/debug/ai.elimu.analytics-<versionCode>-debug.apk
34+
adb install app/build/outputs/apk/debug/app-debug.apk
2935
```
3036

3137
### Code Coverage
@@ -55,7 +61,7 @@ If you want to make changes to the elimu.ai Content Provider's utility library,
5561
<img src="https://github.com/elimu-ai/webapp/blob/main/src/main/webapp/static/img/logo-text-256x78.png" />
5662
</p>
5763
<p align="center">
58-
elimu.ai - Free open-source learning software for out-of-school children ✨🚀
64+
elimu.ai - Free open-source learning software for out-of-school children 🚀✨
5965
</p>
6066
<p align="center">
6167
<a href="https://elimu.ai">Website 🌐</a>

app/build.gradle

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ apply plugin: 'com.mxalbert.gradle.jacoco-android'
33
apply plugin: 'dagger.hilt.android.plugin'
44
apply plugin: 'org.jetbrains.kotlin.android'
55
apply plugin: 'kotlin-kapt'
6+
apply plugin: 'maven-publish'
67

78
jacoco {
89
toolVersion = "0.8.10"
@@ -16,9 +17,8 @@ android {
1617
applicationId "ai.elimu.kukariri"
1718
minSdkVersion 26
1819
targetSdkVersion 35
19-
versionCode 1000007
20-
versionName "1.0.7-SNAPSHOT"
21-
setProperty("archivesBaseName", "${applicationId}-${versionCode}")
20+
versionCode 1000008
21+
versionName "1.0.8-SNAPSHOT"
2222
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
2323
}
2424

@@ -56,10 +56,10 @@ android {
5656
dependencies {
5757
implementation fileTree(dir: 'libs', include: ['*.jar'])
5858

59-
implementation libs.elimu.model // See https://jitpack.io/#elimu-ai/model
60-
implementation libs.elimu.content.provider // See https://jitpack.io/#elimu-ai/content-provider
61-
implementation libs.elimu.analytics // See https://jitpack.io/#elimu-ai/analytics
62-
implementation libs.elimu.common.utils
59+
implementation libs.elimu.model // https://jitpack.io/#elimu-ai/model
60+
implementation libs.elimu.content.provider // https://jitpack.io/#elimu-ai/content-provider
61+
implementation libs.elimu.analytics // https://jitpack.io/#elimu-ai/analytics
62+
implementation libs.elimu.common.utils // https://jitpack.io/#elimu-ai/common-utils
6363

6464
implementation libs.androidx.appcompat
6565
implementation libs.androidx.constraint.layout
@@ -78,3 +78,14 @@ dependencies {
7878
androidTestImplementation libs.androidx.junit
7979
androidTestImplementation libs.androidx.espresso
8080
}
81+
82+
publishing {
83+
publications {
84+
apk(MavenPublication) {
85+
artifact("${buildDir}/outputs/apk/release/app-release-unsigned.apk")
86+
}
87+
}
88+
}
89+
tasks.named("publishApkPublicationToMavenLocal") {
90+
mustRunAfter(":app:assembleRelease")
91+
}

0 commit comments

Comments
 (0)