forked from mosip/android-registration-client
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from Piyush7034/fetch-machine
Fetch machine
- Loading branch information
Showing
1,043 changed files
with
587,306 additions
and
162 deletions.
There are no files selected for viewing
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
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
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
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
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
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,145 @@ | ||
plugins { | ||
id 'com.android.library' | ||
id 'com.ibotta.gradle.aop' | ||
id "org.sonarqube" | ||
} | ||
|
||
apply from: '../jacoco.gradle' | ||
|
||
android { | ||
compileSdkVersion rootProject.ext.compileSdkVersion | ||
buildToolsVersion rootProject.ext.buildToolsVersion | ||
|
||
defaultConfig { | ||
minSdkVersion rootProject.ext.minSdkVersion | ||
targetSdkVersion rootProject.ext.targetSdkVersion | ||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | ||
consumerProguardFiles "consumer-rules.pro" | ||
versionCode 1 | ||
versionName "1.0" | ||
buildConfigField("String", "CLIENT_VERSION", rootProject.ext.clientmanagerLibVersionName) | ||
buildConfigField("String", "BASE_URL", rootProject.ext.serverBaseURL) | ||
} | ||
|
||
buildTypes { | ||
debug { | ||
testCoverageEnabled true | ||
} | ||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' | ||
} | ||
} | ||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
} | ||
sourceSets { | ||
main { | ||
assets { | ||
srcDirs 'src\\main\\assets', 'src\\androidTest\\assets' | ||
} | ||
} | ||
} | ||
testOptions { | ||
unitTests { | ||
includeAndroidResources = true | ||
} | ||
} | ||
|
||
libraryVariants.every { variant -> | ||
variant.outputs.each { output -> | ||
def outputFile = output.outputFile | ||
if (outputFile != null && outputFile.name.endsWith('.aar')) { | ||
output.outputFile = new File(projectDir, '../app/new_libs/' + outputFile.name) | ||
} | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
def work_version = "2.7.1" | ||
|
||
implementation 'com.google.dagger:dagger:2.41' | ||
implementation 'com.google.dagger:dagger-android-support:2.41' | ||
annotationProcessor 'com.google.dagger:dagger-compiler:2.41' | ||
annotationProcessor 'com.google.dagger:dagger-android-processor:2.41' | ||
|
||
compileOnly 'org.projectlombok:lombok:1.18.24' | ||
annotationProcessor 'org.projectlombok:lombok:1.18.24' | ||
|
||
implementation 'javax.validation:validation-api:2.0.1.Final' | ||
|
||
//AspectJ | ||
implementation 'org.aspectj:aspectjrt:1.9.7' | ||
|
||
// https://mvnrepository.com/artifact/io.swagger.core.v3/swagger-annotations | ||
implementation 'io.swagger.core.v3:swagger-annotations:2.1.11' | ||
|
||
implementation "androidx.room:room-runtime:2.4.2" | ||
annotationProcessor "androidx.room:room-compiler:2.4.2" | ||
|
||
androidTestImplementation 'androidx.test.ext:junit:1.1.3' | ||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' | ||
androidTestImplementation 'com.squareup.okhttp3:mockwebserver:4.10.0' | ||
androidTestImplementation "org.mockito:mockito-android:4.6.1" | ||
testImplementation "junit:junit:4.13.2" | ||
testImplementation "org.mockito:mockito-core:4.6.1" | ||
testImplementation 'org.mockito:mockito-inline:4.4.0' | ||
testImplementation 'org.robolectric:robolectric:4.8' | ||
testImplementation 'com.squareup.okhttp3:mockwebserver:4.10.0' | ||
testImplementation "org.mockito:mockito-android:4.6.1" | ||
|
||
|
||
// (Java only) | ||
implementation "androidx.work:work-runtime:$work_version" | ||
|
||
// https://mvnrepository.com/artifact/com.squareup.retrofit2/retrofit | ||
implementation 'com.squareup.retrofit2:retrofit:2.9.0' | ||
implementation 'com.squareup.retrofit2:converter-gson:2.9.0' | ||
|
||
// JWT decoding library | ||
implementation 'com.auth0.android:jwtdecode:2.0.1' | ||
|
||
// https://mvnrepository.com/artifact/commons-io/commons-io | ||
implementation group: 'commons-io', name: 'commons-io', version: '2.11.0' | ||
|
||
implementation 'com.fasterxml.jackson.core:jackson-core:2.13.2' | ||
implementation 'com.fasterxml.jackson.core:jackson-databind:2.13.2.2' | ||
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.13.2' | ||
|
||
implementation 'org.apache.velocity:velocity:1.7' | ||
implementation 'org.mvel:mvel2:2.4.14.Final' | ||
|
||
implementation('com.tom-roush:pdfbox-android:2.0.20.0') { | ||
exclude group: 'org.bouncycastle' | ||
} | ||
|
||
implementation 'com.github.Tgo1014:JP2ForAndroid:1.0.4' | ||
|
||
implementation('io.mosip.biometric.util:biometrics-util:1.2.0') { | ||
exclude group: 'org.springframework.boot' | ||
exclude group: 'com.fasterxml.jackson.core' | ||
exclude group: 'org.projectlombok' | ||
} | ||
// https://mvnrepository.com/artifact/org.slf4j/slf4j-api | ||
implementation group: 'org.slf4j', name: 'slf4j-api', version: '2.0.0-alpha7' | ||
|
||
// added packet-manager Android library module as a dependency | ||
implementation project(':packetmanager') | ||
implementation project(':keymanager') | ||
} | ||
|
||
sonarqube { | ||
androidVariant 'debug' //PUT REAL TASK NAME HERE | ||
|
||
properties { | ||
//PUT REAL PATHS HERE | ||
property "sonar.java.binaries", "build/intermediates/javac/debug" | ||
property "sonar.junit.reportPaths", "build/test-results/testDebugUnitTest" | ||
//property "sonar.jacoco.reportPaths", "build/jacoco/testReleaseUnitTest.exec" | ||
property "sonar.coverage.jacoco.xmlReportPaths", "./build/reports/jacoco/testDebugUnitTestCoverage/testDebugUnitTestCoverage.xml" | ||
property "sonar.tests", ["src/test/java"] | ||
property "sonar.sources", "src/main/java" | ||
} | ||
} |
Empty file.
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,21 @@ | ||
# Add project specific ProGuard rules here. | ||
# You can control the set of applied configuration files using the | ||
# proguardFiles setting in build.gradle. | ||
# | ||
# For more details, see | ||
# http://developer.android.com/guide/developing/tools/proguard.html | ||
|
||
# If your project uses WebView with JS, uncomment the following | ||
# and specify the fully qualified class name to the JavaScript interface | ||
# class: | ||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview { | ||
# public *; | ||
#} | ||
|
||
# Uncomment this to preserve the line number information for | ||
# debugging stack traces. | ||
#-keepattributes SourceFile,LineNumberTable | ||
|
||
# If you keep the line number information, uncomment this to | ||
# hide the original source file name. | ||
#-renamesourcefileattribute SourceFile |
Oops, something went wrong.