@@ -16,7 +16,24 @@ allprojects {
1616 repositories {
1717 maven { url ' https://maven.google.com' }
1818 maven { url ' https://oss.sonatype.org/content/repositories/snapshots/' }
19- maven { url " http://dl.bintray.com/ona/kujaku" }
19+ maven {
20+ def githubProperties = new Properties ()
21+ if (rootProject. file(" github.properties" ). exists()) {
22+ githubProperties. load(new FileInputStream (rootProject. file(" github.properties" )))
23+ }
24+
25+ name = " GitHubPackages"
26+ /* Configure path to the library hosted on GitHub Package Registry
27+ * Replace UserID with package owner userID and REPOSITORY with the repository name
28+ * e.g. ""https://maven.pkg.github.com/opensrp/opensrp-client-reporting""
29+ */
30+ url = uri(" https://maven.pkg.github.com/onaio/kujaku" )
31+ credentials {
32+ username = githubProperties[' gpr.usr' ] ?: System . getenv(" GPR_USER" )
33+ password = githubProperties[' gpr.key' ] ?: System . getenv(" GPR_API_KEY" )
34+ }
35+
36+ }
2037 maven { url ' https://maven.fabric.io/public' }
2138 mavenLocal()
2239 }
@@ -176,6 +193,7 @@ android {
176193 exclude ' LICENSE.txt'
177194 exclude ' META-INF/LICENSE.md'
178195 exclude ' META-INF/NOTICE.md'
196+ exclude ' META-INF/INDEX.LIST'
179197 }
180198
181199 testOptions {
@@ -269,8 +287,8 @@ android {
269287 togo {
270288 dimension = ' baseDimension'
271289 applicationIdSuffix " .togo"
272- versionCode 21
273- versionName " 1.2.3 "
290+ versionCode 22
291+ versionName " 1.2.4 "
274292 buildConfigField " int" , " OPENMRS_UNIQUE_ID_INITIAL_BATCH_SIZE" , ' 1000'
275293 buildConfigField " int" , " OPENMRS_UNIQUE_ID_BATCH_SIZE" , ' 500'
276294 buildConfigField " String" , ' opensrp_url' , ' "https://wcaro-tg.smartregister.org/opensrp/"'
@@ -320,7 +338,7 @@ android {
320338}
321339
322340dependencies {
323- implementation(' org.smartregister:opensrp-client-chw-core:2.0.30 -SNAPSHOT@aar' ) {
341+ implementation(' org.smartregister:opensrp-client-chw-core:2.0.32 -SNAPSHOT@aar' ) {
324342 transitive = true
325343 exclude group : ' com.android.support' , module : ' appcompat-v7'
326344 exclude group : ' androidx.legacy' , module : ' legacy-support-v4'
@@ -411,4 +429,4 @@ tasks.coveralls {
411429coveralls {
412430 jacocoReportPath = " ${ buildDir} /reports/jacoco/jacocoRootReport/merged.xml"
413431 sourceDirs = [" $project . projectDir /src/main/java" ]
414- }
432+ }
0 commit comments