2017-05-05 23:39:10 +02:00
|
|
|
apply plugin: 'com.android.library'
|
2019-10-06 13:23:33 +02:00
|
|
|
apply plugin: 'kotlin-android'
|
2019-10-06 18:02:21 +02:00
|
|
|
apply plugin: 'kotlin-android-extensions'
|
2019-10-06 22:46:56 +02:00
|
|
|
apply plugin: 'de.mobilej.unmock'
|
2017-05-05 23:39:10 +02:00
|
|
|
|
|
|
|
android {
|
2018-09-12 07:55:15 +02:00
|
|
|
compileSdkVersion target_sdk_version
|
2017-05-05 23:39:10 +02:00
|
|
|
|
|
|
|
defaultConfig {
|
2018-09-12 07:55:15 +02:00
|
|
|
targetSdkVersion target_sdk_version
|
|
|
|
minSdkVersion min_sdk_version
|
|
|
|
|
2017-05-05 23:39:10 +02:00
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
2019-10-06 22:46:56 +02:00
|
|
|
|
2017-05-05 23:39:10 +02:00
|
|
|
}
|
2018-09-12 07:55:15 +02:00
|
|
|
|
2017-05-05 23:39:10 +02:00
|
|
|
buildTypes {
|
|
|
|
release {
|
2019-02-15 04:17:31 +01:00
|
|
|
minifyEnabled false
|
2017-05-05 23:39:10 +02:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
2018-05-06 10:09:18 +02:00
|
|
|
|
2017-05-05 23:39:10 +02:00
|
|
|
}
|
|
|
|
|
2019-10-06 22:46:56 +02:00
|
|
|
unMock {
|
|
|
|
keepStartingWith "android.util."
|
|
|
|
keepStartingWith "com.android.internal.util."
|
|
|
|
|
|
|
|
keep "android.graphics.Bitmap"
|
|
|
|
keep "android.graphics.BitmapFactory"
|
|
|
|
}
|
|
|
|
|
2017-05-05 23:39:10 +02:00
|
|
|
dependencies {
|
2019-10-06 22:46:56 +02:00
|
|
|
|
|
|
|
testImplementation 'junit:junit:4.12'
|
|
|
|
androidTestImplementation 'androidx.test:runner:1.3.0-alpha02'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0-alpha02'
|
|
|
|
|
2018-03-27 05:07:40 +02:00
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
implementation 'commons-io:commons-io:2.6'
|
2019-10-06 13:23:33 +02:00
|
|
|
implementation 'androidx.annotation:annotation:1.1.0'
|
2019-10-06 18:02:21 +02:00
|
|
|
implementation "androidx.core:core-ktx:1.1.0"
|
2019-10-06 13:23:33 +02:00
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
2019-10-06 22:46:56 +02:00
|
|
|
|
|
|
|
unmock 'org.robolectric:android-all:5.0.0_r2-robolectric-0'
|
2019-10-06 13:23:33 +02:00
|
|
|
}
|
2019-10-06 22:46:56 +02:00
|
|
|
|
2019-10-06 13:23:33 +02:00
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2017-05-05 23:39:10 +02:00
|
|
|
}
|