mirror of https://github.com/MISP/misp-bump
51 lines
1.7 KiB
Groovy
51 lines
1.7 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 28
|
|
defaultConfig {
|
|
applicationId "lu.circl.mispbump"
|
|
minSdkVersion 23
|
|
targetSdkVersion 28
|
|
versionCode 1
|
|
versionName "1.0"
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
// retrofit
|
|
implementation 'com.squareup.retrofit2:retrofit:2.5.0'
|
|
implementation 'com.squareup.retrofit2:converter-gson:2.5.0'
|
|
implementation 'com.squareup.okhttp3:logging-interceptor:3.8.0'
|
|
|
|
// android
|
|
implementation 'com.android.support:appcompat-v7:28.0.0'
|
|
implementation 'com.android.support:design:28.0.0'
|
|
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
|
|
implementation 'com.android.support:cardview-v7:28.0.0'
|
|
implementation 'com.android.support:recyclerview-v7:28.0.0'
|
|
|
|
// barcode scanning
|
|
implementation 'com.google.android.gms:play-services-vision:17.0.2'
|
|
|
|
// barcode generation
|
|
implementation 'com.journeyapps:zxing-android-embedded:3.2.0@aar'
|
|
implementation 'com.google.zxing:core:3.3.0'
|
|
|
|
// override due to play-services-vision version conflicts
|
|
implementation 'com.android.support:support-media-compat:28.0.0'
|
|
implementation 'com.android.support:support-v4:28.0.0'
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
testImplementation 'junit:junit:4.12'
|
|
androidTestImplementation 'com.android.support.test:runner:1.0.2'
|
|
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
|
|
}
|