-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Arman Hossain <arman@riseuplabs.com>
- Loading branch information
1 parent
93063fe
commit 03065b6
Showing
920 changed files
with
38,551 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,191 @@ | ||
apply plugin: 'com.android.application' | ||
apply plugin: 'com.google.gms.google-services' | ||
apply plugin: 'jacoco-android' | ||
|
||
// load our keystore configuration | ||
def keystore = new Properties() | ||
keystore.load(new FileInputStream(rootProject.file("keystore.properties"))) | ||
|
||
android { | ||
compileSdkVersion 29 | ||
buildToolsVersion '29.0.3' | ||
|
||
defaultConfig { | ||
applicationId "com.riseuplabs.ureport_rv" | ||
minSdkVersion 21 | ||
targetSdkVersion 29 | ||
versionCode 1 | ||
versionName "1.0.0" | ||
multiDexEnabled = true | ||
|
||
buildConfigField "String", "BUILD_DISTRIBUTION", "\"RV\"" | ||
|
||
testInstrumentationRunner "io.rapidpro.surveyor.test.TestRunner" | ||
testInstrumentationRunnerArgument 'notAnnotation', 'androidx.test.filters.FlakyTest' | ||
} | ||
signingConfigs { | ||
release { | ||
storeFile file(keystore['storeFile']) | ||
storePassword keystore['storePassword'] | ||
keyAlias keystore['keyAlias'] | ||
keyPassword keystore['keyPassword'] | ||
} | ||
} | ||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
signingConfig signingConfigs.release | ||
|
||
} | ||
debug { | ||
testCoverageEnabled true | ||
resValue("string", "PORT_NUMBER", "8081") | ||
} | ||
} | ||
flavorDimensions 'version' | ||
productFlavors { | ||
rapidpro { | ||
dimension 'version' | ||
} | ||
"$thirdparty.applicationId" { | ||
dimension 'version' | ||
applicationId thirdparty.applicationId | ||
} | ||
} | ||
packagingOptions { | ||
exclude 'META-INF/LICENSE.txt' | ||
exclude 'META-INF/NOTICE.txt' | ||
} | ||
dexOptions { | ||
javaMaxHeapSize "4g" | ||
} | ||
lintOptions { | ||
abortOnError false | ||
} | ||
testOptions { | ||
unitTests.returnDefaultValues = true | ||
} | ||
} | ||
|
||
repositories { | ||
mavenLocal() | ||
mavenCentral() | ||
maven { url "https://jitpack.io" } | ||
google() | ||
} | ||
android { | ||
compileOptions { | ||
sourceCompatibility 1.8 | ||
targetCompatibility 1.8 | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation project(':goflow') | ||
|
||
// google services | ||
//noinspection issues with 1.1.1 https://issuetracker.google.com/issues/141132133 | ||
//implementation 'androidx.appcompat:appcompat:1.1.0' | ||
implementation 'androidx.appcompat:appcompat:1.2.0-beta01' | ||
implementation 'androidx.legacy:legacy-support-v4:1.0.0' | ||
implementation 'androidx.multidex:multidex:2.0.1' | ||
implementation 'androidx.exifinterface:exifinterface:1.2.0' | ||
|
||
// u-report and stories | ||
implementation 'androidx.recyclerview:recyclerview:1.1.0' | ||
implementation 'androidx.appcompat:appcompat:1.1.0' | ||
implementation 'androidx.constraintlayout:constraintlayout:1.1.3' | ||
implementation 'androidx.cardview:cardview:1.0.0' | ||
implementation 'androidx.preference:preference:1.1.1' | ||
implementation 'com.google.android.material:material:1.1.0' | ||
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0' | ||
implementation 'com.akexorcist:RoundCornerProgressBar:2.0.3' | ||
implementation 'com.github.florent37:viewanimator:1.1.0' | ||
implementation 'de.hdodenhof:circleimageview:3.1.0' | ||
implementation 'androidx.room:room-runtime:2.2.5' | ||
implementation 'com.android.support:appcompat-v7:29.+' | ||
annotationProcessor 'androidx.room:room-compiler:2.2.5' | ||
implementation 'com.github.bumptech.glide:glide:4.10.0' | ||
annotationProcessor 'com.github.bumptech.glide:compiler:4.10.0' | ||
implementation 'com.github.traex.rippleeffect:library:1.3' | ||
implementation 'com.github.skydoves:powermenu:2.1.2' | ||
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' | ||
implementation 'com.yarolegovich:discrete-scrollview:1.4.9' | ||
implementation 'com.airbnb.android:lottie:3.3.1' | ||
implementation "com.andkulikov:transitionseverywhere:2.1.0" | ||
implementation 'com.github.Cutta:GifView:1.4' | ||
implementation 'com.github.ybq:Android-SpinKit:1.4.0' | ||
implementation 'com.google.android.material:material:1.1.0' | ||
implementation 'myatminsoe.mdetect.android:mdetect-android:3.2' | ||
|
||
|
||
// rest api | ||
implementation 'com.squareup.okhttp3:okhttp:3.12.1' | ||
implementation 'com.squareup.okhttp3:logging-interceptor:3.12.1' | ||
implementation 'com.squareup.retrofit2:retrofit:2.5.0' | ||
implementation 'com.squareup.retrofit2:converter-gson:2.5.0' | ||
|
||
// for location services | ||
implementation 'com.google.android.gms:play-services-gcm:17.0.0' | ||
implementation 'com.google.android.gms:play-services-location:17.0.0' | ||
|
||
// internationalization, language iso codes | ||
implementation 'com.neovisionaries:nv-i18n:1.11' | ||
|
||
// apache commons | ||
implementation 'org.apache.commons:commons-lang3:3.8.1' | ||
//noinspection GradleDependency newer versions use java.nio methods not supported on older Android versions | ||
implementation 'commons-io:commons-io:2.4' | ||
|
||
implementation 'com.vdurmont:semver4j:2.2.0' | ||
|
||
// Android M permissions | ||
implementation 'com.greysonparrelli.permiso:permiso:0.3.0' | ||
|
||
// unit tests | ||
testImplementation 'junit:junit:4.12' | ||
|
||
// instrumented tests | ||
androidTestImplementation 'androidx.test:core:1.2.0' | ||
androidTestImplementation 'androidx.test:runner:1.2.0' | ||
androidTestImplementation 'androidx.test:rules:1.2.0' | ||
androidTestImplementation 'androidx.test.ext:junit:1.1.1' | ||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' | ||
androidTestImplementation 'androidx.test.espresso:espresso-intents:3.2.0' | ||
androidTestImplementation 'androidx.test.espresso:espresso-web:3.2.0' | ||
androidTestImplementation 'org.hamcrest:hamcrest-library:1.3' | ||
androidTestImplementation 'com.squareup.okhttp3:mockwebserver:3.10.0' | ||
//implementation 'com.android.support.constraint:constraint-layout:1.1.3' | ||
|
||
|
||
implementation 'com.google.android.exoplayer:exoplayer-core:2.10.5' | ||
implementation 'com.google.android.exoplayer:exoplayer-dash:2.10.5' | ||
implementation 'com.google.android.exoplayer:exoplayer-ui:2.10.5' | ||
|
||
// database debug | ||
debugImplementation 'com.amitshekhar.android:debug-db:1.0.6' | ||
implementation 'com.android.support.constraint:constraint-layout:1.1.3' | ||
|
||
// Firebase Analytics | ||
implementation 'com.google.firebase:firebase-analytics:17.4.3' | ||
} | ||
|
||
task jacocoMergedReport(type: JacocoReport, dependsOn: ['testRapidproDebugUnitTest', 'createRapidproDebugCoverageReport']) { | ||
|
||
reports { | ||
xml.enabled = true | ||
html.enabled = true | ||
} | ||
|
||
def fileFilter = ['**/R.class', '**/R$*.class', '**/BuildConfig.*', '**/Manifest*.*', '**/*Test*.*', 'android/**/*.*'] | ||
def debugTree = fileTree(dir: "${buildDir}/intermediates/classes/debug", excludes: fileFilter) | ||
def mainSrc = "${project.projectDir}/src/main/java" | ||
|
||
sourceDirectories = files([mainSrc]) | ||
classDirectories = files([debugTree]) | ||
executionData = fileTree(dir: "$buildDir", includes: [ | ||
"jacoco/testRapidproDebugUnitTest.exec", | ||
"outputs/code_coverage/rapidproDebugAndroidTest/connected/*coverage.ec" | ||
]) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"project_info": { | ||
"project_number": "259113623349", | ||
"firebase_url": "https://ureport-app.firebaseio.com", | ||
"project_id": "ureport-app", | ||
"storage_bucket": "ureport-app.appspot.com" | ||
}, | ||
"client": [ | ||
{ | ||
"client_info": { | ||
"mobilesdk_app_id": "1:259113623349:android:acc195b3b16f92512e367c", | ||
"android_client_info": { | ||
"package_name": "com.riseuplabs.ureport_rv" | ||
} | ||
}, | ||
"oauth_client": [ | ||
{ | ||
"client_id": "259113623349-k92nt8hgenqja5koftu3otmi47srnkvr.apps.googleusercontent.com", | ||
"client_type": 3 | ||
} | ||
], | ||
"api_key": [ | ||
{ | ||
"current_key": "AIzaSyCKbLIwGmL-_QEv7IWvdto0cwaPx84qFcg" | ||
} | ||
], | ||
"services": { | ||
"appinvite_service": { | ||
"other_platform_oauth_client": [ | ||
{ | ||
"client_id": "259113623349-k92nt8hgenqja5koftu3otmi47srnkvr.apps.googleusercontent.com", | ||
"client_type": 3 | ||
} | ||
] | ||
} | ||
} | ||
} | ||
], | ||
"configuration_version": "1" | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#Thu Dec 19 12:22:47 BDT 2019 | ||
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 |
Oops, something went wrong.