Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android 10 support #607

Draft
wants to merge 121 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 128 commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
105a2d0
:zap: Adding the language switcher on the me fragment
dubdabasoduba Mar 27, 2020
f642fdc
:zap: Adding the language switching configurability
dubdabasoduba Mar 27, 2020
15fa5dc
Merge branch 'develop' of github.com:OpenSRP/opensrp-client-anc into …
dubdabasoduba Mar 27, 2020
9da6e5b
:zap: bump up version
dubdabasoduba Mar 27, 2020
c8d0caf
:ok_hand: fix code review requests
dubdabasoduba Mar 27, 2020
485973a
:ok_hand: Fix code review requests
dubdabasoduba Mar 27, 2020
edf80a1
:ok_hand: Fix code review requests
dubdabasoduba Mar 27, 2020
71c80d0
:heavy_check_mark: Add tests
dubdabasoduba Mar 28, 2020
07acc2b
:hammer: Reformat code
dubdabasoduba Mar 28, 2020
dd57373
:zap: Adding the interpolated forms
dubdabasoduba Apr 2, 2020
4c3301a
:zap: Add the interpolated forms and properties files
dubdabasoduba Apr 4, 2020
30df989
make number of contacts schedule displayed on summary configurable
bennsimon Apr 6, 2020
2d57233
:zap: add the translate sub forms
dubdabasoduba Apr 8, 2020
0386b8f
:zap: remove unused motheds & code lines
dubdabasoduba Apr 8, 2020
a500ed1
fix null GA
bennsimon Apr 8, 2020
820c81d
:zap: test out the forms translations
dubdabasoduba Apr 8, 2020
d419fbc
:zap: Update the anc close page spinners & enable MLS on the form
dubdabasoduba Apr 8, 2020
6fba361
:ok_hand: fix code review requests
dubdabasoduba Apr 9, 2020
45d6334
updated code to tests native forms performance improvement
bennsimon Apr 9, 2020
3063c0e
code cleanup
bennsimon Apr 12, 2020
2537fe1
fix gibberish text and crash in ct
bennsimon Apr 12, 2020
6deade0
:zap: Adding the yaml translations
dubdabasoduba Apr 22, 2020
40ec874
:ok_hand: remove unused imports and rearrange code
dubdabasoduba Apr 22, 2020
dc8f0de
:zap: add the tests text properties
dubdabasoduba Apr 23, 2020
1d5dbca
:zap: Add the profile overview property files
dubdabasoduba Apr 23, 2020
06fde6a
:heavy_check_mark: fix up broken tests
dubdabasoduba Apr 23, 2020
eec06eb
:ok_hand: remove unused imports & variables
dubdabasoduba Apr 23, 2020
c6e9d63
:zap: reformat the properties
dubdabasoduba Apr 23, 2020
7deff81
update to local snapshot
bennsimon May 14, 2020
6a3a1ad
:zap: Updated the contact summary mls
dubdabasoduba May 15, 2020
f430666
update code with latest optimization code
bennsimon May 21, 2020
6ffddc0
:zap: update the core version
dubdabasoduba May 28, 2020
78def83
Merge branch 'master' of github.com:OpenSRP/opensrp-client-anc into f…
dubdabasoduba May 28, 2020
2d9e0ad
:zap: added the setitngs API new endpoints
dubdabasoduba May 28, 2020
4637dcb
Merge branch 'develop' of github.com:OpenSRP/opensrp-client-anc into …
dubdabasoduba May 29, 2020
0c8f1b6
update popStack
bennsimon May 29, 2020
dd5c4c3
add contact sequencing logic
bennsimon Jun 24, 2020
bdc4954
remove due check strategy config
bennsimon Jun 24, 2020
b72675e
make anc profile activity configurable
bennsimon Jun 24, 2020
3f54903
update snapshot version
bennsimon Jun 25, 2020
8c27ed4
Merge branch 'develop' of github.com:OpenSRP/opensrp-client-anc into …
bennsimon Jun 25, 2020
aa26c46
remove unneeded column
bennsimon Jun 25, 2020
7e088f6
update null check for event details
bennsimon Jun 26, 2020
1055065
fix next contact update
bennsimon Jun 29, 2020
d37270c
update/fix tests
bennsimon Jun 29, 2020
1f300bf
added tests
bennsimon Jun 29, 2020
30c223b
fix tests
bennsimon Jul 1, 2020
e6437b4
:construction: move to androidx
dubdabasoduba Jul 10, 2020
b763016
:construction: Remove the `onActivityResult` super call
dubdabasoduba Jul 10, 2020
0a67f36
:construction: fix androidx move errors
dubdabasoduba Jul 13, 2020
15cc871
:construction: fix the form configuration work compatibility
dubdabasoduba Jul 13, 2020
c9f7a48
:zap: update min sdk and fix broken xml
dubdabasoduba Jul 13, 2020
5932f3d
update opensrp url to anc
bennsimon Jul 14, 2020
ab1fa00
:arrow_up: Update native form dependency
allan-on Jul 17, 2020
64038f5
:arrow_up: Update ANC's native form dependency
allan-on Jul 17, 2020
7cb51fc
:construction: Load YAML translated with properties from DB
allan-on Jul 17, 2020
591e688
:construction: display the form release manifest version
dubdabasoduba Jul 20, 2020
6ad2c30
Merge branch 'feature/issue-494' of github.com:OpenSRP/opensrp-client…
dubdabasoduba Jul 20, 2020
4d5f21f
:ok_hand: fix some codacy requests
dubdabasoduba Jul 20, 2020
156b7f0
:arrow_up: bump native forms
dubdabasoduba Jul 20, 2020
a1e72a5
:arrow_up: bump up core version
dubdabasoduba Jul 20, 2020
8e138bd
:arrow_up: bump up version
dubdabasoduba Jul 22, 2020
1196c50
:construction: update the repositories
dubdabasoduba Jul 22, 2020
a50b9b0
:construction: fix some breaking tests
dubdabasoduba Jul 28, 2020
ce3e1a6
:construction: fix the extra settings fetch
dubdabasoduba Aug 4, 2020
e5d0fe3
:construction: update the release url & fix login to not display a nu…
dubdabasoduba Aug 7, 2020
40694cf
:construction: update the property files with the correct language keys
dubdabasoduba Aug 7, 2020
0338a4e
:construction: Fix NPE on the manifest versions
dubdabasoduba Aug 7, 2020
8e7de5e
:zap: fix the property keys for the physical exams container
dubdabasoduba Aug 7, 2020
b15b9c2
Merge branch 'master' of github.com:OpenSRP/opensrp-client-anc into d…
dubdabasoduba Aug 23, 2020
53e5f7c
Merge remote-tracking branch 'origin/optimize-native-forms-v2' into f…
dubdabasoduba Aug 25, 2020
6eb4038
:constructuion: update the native forms version
dubdabasoduba Aug 25, 2020
33ebbcb
Merge branch 'feature/issue-494' into feature/zambia-demo
dubdabasoduba Aug 26, 2020
56cc0a1
:construction: update the gradle settings
dubdabasoduba Oct 30, 2020
bff7235
:construction: Upgrade to Oauth for authentication
dubdabasoduba Nov 7, 2020
aea67de
:construction: Adding translation files
dubdabasoduba Nov 26, 2020
6e41e10
:constrution: Adding the pt translation files
dubdabasoduba Dec 2, 2020
0ef288b
:ok_hand: update the languages
dubdabasoduba Dec 4, 2020
928695f
Fix build, duplicate imports
githengi Dec 4, 2020
36075bd
:construction: Updating the language
dubdabasoduba Dec 9, 2020
4f8812a
:construction: update to remove dublicating of clients records
dubdabasoduba Dec 9, 2020
f738b92
:construction: Updating the assets i.e json files, property files, y…
dubdabasoduba Feb 11, 2021
64fa89d
:construction: Update and fix registration form force close
dubdabasoduba Feb 12, 2021
8592184
:construction: Update the breaking json forms
dubdabasoduba Feb 12, 2021
46ee5ae
:construction: Update the server settings
dubdabasoduba Feb 12, 2021
28b7cf5
Update resources with latest
ekigamba Feb 12, 2021
1caee4a
Show headss toaster in profile only if woman > 19 years
ekigamba Feb 12, 2021
3e587ff
Change contact summary abnormal heartbeat conditions
ekigamba Feb 12, 2021
ee89d26
Change contact summary - reason for visit - health concerns label
ekigamba Feb 12, 2021
088bfce
Change contact summary content
ekigamba Feb 12, 2021
635e989
Update Attention Flag content & logic
ekigamba Feb 12, 2021
9663ec1
Update Profile Overview content and logic
ekigamba Feb 12, 2021
97100bb
Updates to rules and calculations
ndegwamartin Feb 12, 2021
05a1afe
:construction: Update the IPV questions relevance & calculation
dubdabasoduba Feb 12, 2021
9f5a06d
Fix strings in forms & missing properties
ekigamba Feb 12, 2021
ccae138
Add Risks and diagnoses section
ekigamba Feb 12, 2021
e6e7749
Fix revelance logic for risks section
ekigamba Feb 12, 2021
0bfeebe
update anc profile
ndegwamartin Feb 12, 2021
5ce012f
Merge pull request #576 from OpenSRP/fix-anc-deploy-issues-2
dubdabasoduba Feb 12, 2021
ef803af
:construction: update the anc reg properties
dubdabasoduba Feb 12, 2021
924544b
Merge branch 'feature/zambia-demo' of github.com:OpenSRP/opensrp-clie…
dubdabasoduba Feb 12, 2021
7b4ee00
Merge remote-tracking branch 'origin/rule-updates' into feature/zambi…
dubdabasoduba Feb 12, 2021
e568c13
:construction: Update the different form fixes
dubdabasoduba Feb 15, 2021
9733ed2
:construction: bug fixes on the forms
dubdabasoduba Feb 16, 2021
7232bf5
:construction: Fix IPV issues
dubdabasoduba Feb 17, 2021
230c685
:construction: Update rules and gradle
dubdabasoduba Feb 18, 2021
a1235bf
:construction: Update the translation files on the contact summary
dubdabasoduba Feb 18, 2021
ed3bec0
:arrow_up: Update the versions of native forms & core libs
dubdabasoduba Mar 10, 2021
a0e2032
:construction: Fixing form changes
dubdabasoduba Mar 12, 2021
048c878
:construction: updating profile overview display
dubdabasoduba Mar 12, 2021
6163743
:construction: Update the app version
dubdabasoduba Mar 12, 2021
055826d
:construction: Update form bug fixes
dubdabasoduba Mar 13, 2021
c72de50
:arrow_up: Bump up version
dubdabasoduba Mar 13, 2021
2ebed39
:construction: Updating the partial save on back pressed
dubdabasoduba Mar 17, 2021
50c5a61
:construction: Update the gradle
dubdabasoduba Mar 17, 2021
0487e3d
:construction: Update summary pages
dubdabasoduba Apr 20, 2021
5c7f405
:construction: update the native forms and core lib versions
dubdabasoduba Apr 22, 2021
b20b1fb
:construction: Updating the core version
dubdabasoduba Apr 29, 2021
31c58ed
:construction: update the core version
dubdabasoduba Apr 30, 2021
7236f5e
Merge branch 'develop' into android_10_support
Jun 30, 2022
a8832e3
Fix codacy error
hamza-vd Jun 30, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ opensrp-anc/jacoco.exec
jacoco.exec
~
/build/
/google-services.json
142 changes: 141 additions & 1 deletion README.md

Large diffs are not rendered by default.

34 changes: 18 additions & 16 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,26 @@
buildscript {
repositories {
google()
mavenCentral()
jcenter()
maven {
url 'https://maven.fabric.io/public'
}
maven { url 'https://maven.fabric.io/public' }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
}

dependencies {
classpath 'com.android.tools.build:gradle:3.5.3'
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.8.2'
classpath 'com.android.tools.build:gradle:4.1.2'
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.8.3'
classpath 'com.palantir:jacoco-coverage:0.4.0'
classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.11.0"
classpath 'com.google.gms:google-services:4.3.3'
classpath 'com.google.gms:google-services:4.3.5'
classpath 'io.fabric.tools:gradle:1.31.2'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.5.0'
classpath 'com.google.firebase:perf-plugin:1.3.4'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

apply plugin: 'com.palantir.jacoco-full-report'
//apply plugin: 'com.palantir.jacoco-full-report'
apply plugin: 'com.github.kt3k.coveralls'

configure(allprojects) { project ->
Expand All @@ -31,8 +32,8 @@ configure(allprojects) { project ->
buildscript {
repositories {
google()
jcenter()
mavenCentral()
jcenter()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
mavenLocal()
}
Expand All @@ -51,6 +52,7 @@ allprojects {
maven { url "https://repo.maven.apache.org/maven2" }
maven { url "https://cloudant.github.io/cloudant-sync-eap/repository" }
maven { url "https://s3.amazonaws.com/repo.commonsware.com" }
maven { url "https://dl.bintray.com/ibm-watson-health/ibm-fhir-server-releases" }
google()
jcenter()
}
Expand All @@ -61,8 +63,8 @@ project.ext.preDexLibs = !project.hasProperty('disablePreDex')
subprojects {
group = 'org.smartregister'

ext.androidToolsBuildGradle = '29.0.2'
ext.androidBuildToolsVersion = '29.0.2'
ext.androidToolsBuildGradle = '29.0.3'
ext.androidBuildToolsVersion = '29.0.3'
ext.androidMinSdkVersion = 18
ext.androidCompileSdkVersion = 29
ext.androidTargetSdkVersion = 29
Expand All @@ -81,13 +83,13 @@ subprojects {
}
}

task clean(type: Delete) {
/*task clean(type: Delete) {
delete rootProject.buildDir
}
}*/

jacocoFull {
excludeProject ":sample", ":opensrp-client-anc"
}
//jacocoFull {
// excludeProject ":sample", ":opensrp-client-anc"
//}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove unwanted/dead code.


coveralls {
jacocoReportPath = "${buildDir}/reports/jacoco/jacocoFullReport/jacocoFullReport.xml"
Expand Down
27,063 changes: 27,063 additions & 0 deletions dependancies.txt

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
org.gradle.jvmargs=-Xmx1536m

android.debug.obsoleteApi=true

## PUBLISHING VARS
VERSION_NAME=2.0.1-SNAPSHOT
VERSION_NAME=2.1.0-SNAPSHOT
VERSION_CODE=1
GROUP=org.smartregister
POM_SETTING_DESCRIPTION=OpenSRP Client ANC Library
Expand All @@ -24,6 +26,5 @@ POM_SETTING_LICENCE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt
POM_SETTING_LICENCE_DIST=repo
POM_SETTING_DEVELOPER_ID=opensrp
POM_SETTING_DEVELOPER_NAME=OpenSRP Onadev
android.enableUnitTestBinaryResources=true
android.enableSeparateAnnotationProcessing=true
android.defaultConfig.javaCompileOptions.annotationProcessorOptions.includeCompileClasspath = true
android.useAndroidX=true
android.enableJetifier=true
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Thu Nov 21 15:37:28 EAT 2019
#Wed Feb 17 10:54:24 EAT 2021
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
141 changes: 74 additions & 67 deletions opensrp-anc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.3'
classpath 'com.android.tools.build:gradle:4.1.2'
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.8.3'
classpath 'com.google.gms:google-services:4.3.3'
classpath 'com.google.gms:google-services:4.3.5'
}
}

Expand Down Expand Up @@ -55,20 +55,54 @@ android {
defaultConfig {
minSdkVersion androidMinSdkVersion
targetSdkVersion androidTargetSdkVersion
versionCode 1
versionName "1.2.11"
versionCode Integer.parseInt(project.VERSION_CODE)
versionName project.VERSION_NAME
buildConfigField "int", "VERSION_CODE", "'" + Integer.parseInt(project.VERSION_CODE) + "'"
multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'

if (properties != null && properties.containsKey("store.file") && properties.containsKey("store.password") && properties.containsKey("key.password")) {
signingConfig signingConfigs.release
}

javaCompileOptions {
annotationProcessorOptions {
includeCompileClasspath true
arguments = [eventBusIndex: 'org.smartregister.anc.library.ANCEventBusIndex']
}
}
if (project.rootProject.file("local.properties").exists()) {
Properties properties = new Properties()
properties.load(project.rootProject.file("local.properties").newDataInputStream())
if (properties != null && properties.containsKey("flurry.api.key")) {
buildConfigField "String", "FLURRY_API_KEY", properties["flurry.api.key"]
} else {
println("Flurry Analytics API key config variables is not set in your local.properties")
buildConfigField "String", "FLURRY_API_KEY", "\"sample_key\""
}

if (properties != null && properties.containsKey("oauth.client.id")) {
buildConfigField "String", "OAUTH_CLIENT_ID", properties["oauth.client.id"]

} else {
project.logger.error("oauth.client.id variable is not set in your local.properties")
buildConfigField "String", "OAUTH_CLIENT_ID", "\"sample_client_id\""
}


if (properties != null && properties.containsKey("oauth.client.secret")) {
buildConfigField "String", "OAUTH_CLIENT_SECRET", properties["oauth.client.secret"]

} else {
project.logger.error("oauth.client.secret variable is not set in your local.properties")
buildConfigField "String", "OAUTH_CLIENT_SECRET", "\"sample_client_secret\""
}
} else {
println("local.properties does not exist")
buildConfigField "String", "FLURRY_API_KEY", "\"sample_key\""
buildConfigField "String", "OAUTH_CLIENT_ID", "\"sample_client_id\""
buildConfigField "String", "OAUTH_CLIENT_SECRET", "\"sample_client_secret\""
}

buildConfigField "String[]", "LOCATION_LEVELS", '{"Country", "Province", "District", "Facility", "Village"}'
buildConfigField "String[]", "HEALTH_FACILITY_LEVELS", '{"Country", "Province", "District", "Health Facility", "Village"}'
Expand All @@ -95,30 +129,7 @@ android {
}

packagingOptions {
exclude 'META-INF/DEPENDENCIES.txt'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/notice.txt'
exclude 'META-INF/license.txt'
exclude 'META-INF/dependencies.txt'
exclude 'META-INF/LGPL2.1'
exclude 'LICENSE.txt'

}
packagingOptions {
exclude 'META-INF/DEPENDENCIES.txt'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/notice.txt'
exclude 'META-INF/license.txt'
exclude 'META-INF/dependencies.txt'
exclude 'META-INF/LGPL2.1'
exclude 'META-INF/*'
exclude 'LICENSE.txt'
}

Expand All @@ -139,11 +150,8 @@ tasks.withType(Test) {
}

dependencies {
def powerMockVersion = '2.0.4'

implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation('org.smartregister:opensrp-client-native-form:1.7.28-SNAPSHOT@aar') {
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation('org.smartregister:opensrp-client-native-form:2.0.10-SNAPSHOT@aar') {
transitive = true
exclude group: 'com.android.support', module: 'recyclerview-v7'
exclude group: 'com.android.support', module: 'appcompat-v7'
Expand All @@ -154,7 +162,7 @@ dependencies {
exclude group: 'org.yaml', module: 'snakeyaml'
exclude group: 'io.ona.rdt-capture', module: 'lib'
}
implementation('org.smartregister:opensrp-client-core:1.9.4-SNAPSHOT@aar') {
implementation('org.smartregister:opensrp-client-core:4.3.3002-SNAPSHOT@aar') {
transitive = true
exclude group: 'com.github.bmelnychuk', module: 'atv'
exclude group: 'com.google.guava', module: 'guava'
Expand All @@ -166,7 +174,9 @@ dependencies {
exclude group: 'com.android.support', module: 'support-v4'
exclude group: 'com.android.support', module: 'design'
exclude group: 'com.rengwuxian.materialedittext', module: 'library'
exclude group: 'com.ibm.fhir', module: 'fhir-model'
}

implementation('org.smartregister:opensrp-client-configurable-views:1.1.5-SNAPSHOT@aar') {
transitive = true
exclude group: 'org.smartregister', module: 'opensrp-client-core'
Expand All @@ -176,56 +186,53 @@ dependencies {
exclude group: 'com.android.support', module: 'cardview-v7'
exclude group: 'com.android.support', module: 'support-v4'
}
implementation group: 'org.apache.commons', name: 'commons-text', version: '1.8'
annotationProcessor 'com.jakewharton:butterknife:10.2.0'
implementation 'net.zetetic:android-database-sqlcipher:4.2.0@aar'
implementation 'commons-validator:commons-validator:1.6'
implementation('com.crashlytics.sdk.android:crashlytics:2.9.3@aar') {
transitive = true
}
implementation group: 'org.apache.commons', name: 'commons-text', version: '1.9'
annotationProcessor 'com.jakewharton:butterknife:10.2.3'
implementation 'net.zetetic:android-database-sqlcipher:4.4.0@aar'
implementation 'commons-validator:commons-validator:1.7'
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'org.greenrobot:eventbus:3.1.1'
annotationProcessor 'org.greenrobot:eventbus-annotation-processor:3.1.1'
implementation 'com.google.guava:guava:24.1-jre'
implementation 'org.greenrobot:eventbus:3.2.0'
annotationProcessor 'org.greenrobot:eventbus-annotation-processor:3.2.0'
implementation 'com.google.guava:guava:30.0-jre'
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
// Because RxAndroid releases are few and far between, it is recommended you also
// explicitly depend on RxJava's latest version for bug fixes and new features.
implementation 'io.reactivex.rxjava2:rxjava:2.2.15'
implementation 'com.evernote:android-job:1.2.6'
implementation 'io.reactivex.rxjava2:rxjava:2.2.20'
implementation 'com.evernote:android-job:1.4.2'
implementation 'com.github.lecho:hellocharts-android:v1.5.8'
implementation 'id.zelory:compressor:2.1.0'
implementation('com.android.support:design:28.0.0') {
implementation('com.google.android.material:material:1.3.0') {
exclude group: 'com.android.support', module: 'recyclerview-v7'
exclude group: 'com.android.support', module: 'cardview-v7'
}

implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation group: 'org.yaml', name: 'snakeyaml', version: '1.25'
implementation 'de.hdodenhof:circleimageview:3.0.1'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation group: 'org.yaml', name: 'snakeyaml', version: '1.27'
implementation 'de.hdodenhof:circleimageview:3.1.0'
implementation 'org.jeasy:easy-rules-core:3.3.0'
implementation 'org.jeasy:easy-rules-mvel:3.3.0'

testImplementation 'junit:junit:4.12'
testImplementation 'junit:junit:4.13.1'
testImplementation 'org.apache.maven:maven-ant-tasks:2.1.3'
testImplementation('com.squareup:fest-android:1.0.8') {
exclude module: 'support-v4'
}
testImplementation 'org.robolectric:robolectric:4.3.1'
testImplementation 'org.robolectric:shadows-multidex:4.3.1'
testImplementation 'org.robolectric:shadows-support-v4:3.4-rc2'
testImplementation "org.powermock:powermock-module-junit4:$powerMockVersion"
testImplementation "org.powermock:powermock-module-junit4-rule:$powerMockVersion"
testImplementation "org.powermock:powermock-api-mockito2:$powerMockVersion"
testImplementation "org.powermock:powermock-classloading-xstream:$powerMockVersion"
testImplementation 'org.mockito:mockito-core:3.1.0'
testImplementation 'org.robolectric:robolectric:4.4'
testImplementation 'org.robolectric:shadows-multidex:4.4'
testImplementation 'com.ibm.fhir:fhir-model:4.2.3'
//testImplementation 'org.robolectric:shadows-support-v4:3.4-rc2'
testImplementation "org.powermock:powermock-module-junit4:2.0.7"
testImplementation "org.powermock:powermock-module-junit4-rule:2.0.7"
testImplementation "org.powermock:powermock-api-mockito2:2.0.7"
testImplementation "org.powermock:powermock-classloading-xstream:2.0.7"
testImplementation 'org.mockito:mockito-core:3.5.15'
testImplementation 'org.apache.maven:maven-ant-tasks:2.1.3'
testImplementation 'org.skyscreamer:jsonassert:1.5.0'

androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation('com.android.support.test.espresso:espresso-core:3.0.2') {
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation('androidx.test.espresso:espresso-core:3.3.0') {
exclude group: 'com.google.code.findbugs'
}
}
Expand All @@ -243,11 +250,11 @@ task jacocoTestReport(type: JacocoReport, dependsOn: ['testDebugUnitTest', 'crea
def debugTree = fileTree(dir: "$project.buildDir/intermediates/javac/debug/classes/", excludes: fileFilter)
def mainSrc = "$project.projectDir/src/main/java"

sourceDirectories = files([mainSrc])
/* sourceDirectories = files([mainSrc])
classDirectories = files([debugTree])
executionData = fileTree(dir: project.buildDir, includes: [
'jacoco/testDebugUnitTest.exec', 'outputs/code-coverage/connected/*coverage.ec'
])
])*/
}

task printTasks {
Expand Down
Loading