2019-01-12 13:10:02 +01:00
|
|
|
apply plugin: 'com.android.application'
|
2019-09-14 12:56:10 +02:00
|
|
|
apply plugin: 'kotlin-android'
|
2019-09-19 10:39:15 +02:00
|
|
|
apply plugin: 'kotlin-kapt'
|
2019-01-12 13:10:02 +01:00
|
|
|
|
|
|
|
android {
|
2019-12-21 21:46:02 +01:00
|
|
|
compileSdkVersion rootProject.ext.compileSdkVersion
|
2020-03-20 22:14:26 +01:00
|
|
|
|
2019-01-12 13:10:02 +01:00
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.readrops.app"
|
2019-12-21 21:46:02 +01:00
|
|
|
minSdkVersion rootProject.ext.minSdkVersion
|
|
|
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
2020-03-20 22:14:26 +01:00
|
|
|
buildToolsVersion rootProject.ext.buildToolsVersion
|
|
|
|
|
2020-11-22 18:43:43 +01:00
|
|
|
versionCode 12
|
|
|
|
versionName "1.2.1"
|
2019-05-10 13:24:02 +02:00
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
2019-01-12 13:10:02 +01:00
|
|
|
}
|
2019-10-11 21:27:51 +02:00
|
|
|
testOptions {
|
|
|
|
unitTests.returnDefaultValues = true
|
|
|
|
}
|
2020-03-22 18:22:37 +01:00
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
|
|
|
}
|
2019-01-12 13:10:02 +01:00
|
|
|
buildTypes {
|
|
|
|
release {
|
2019-11-24 16:55:20 +01:00
|
|
|
minifyEnabled true
|
|
|
|
shrinkResources true
|
2019-09-18 22:14:00 +02:00
|
|
|
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
|
|
|
|
debug {
|
2019-01-12 13:10:02 +01:00
|
|
|
minifyEnabled false
|
2019-09-18 22:14:00 +02:00
|
|
|
shrinkResources false
|
|
|
|
|
|
|
|
applicationIdSuffix ".debug"
|
2019-01-12 13:10:02 +01:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
2019-01-12 16:54:27 +01:00
|
|
|
compileOptions {
|
2020-08-10 22:01:51 +02:00
|
|
|
coreLibraryDesugaringEnabled true
|
|
|
|
|
2020-02-27 22:33:38 +01:00
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
2019-01-12 16:54:27 +01:00
|
|
|
}
|
2020-03-14 15:21:17 +01:00
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = '1.8'
|
|
|
|
}
|
2020-07-10 17:59:15 +02:00
|
|
|
|
|
|
|
buildFeatures {
|
2020-07-13 19:23:02 +02:00
|
|
|
viewBinding true
|
2020-11-22 23:20:48 +01:00
|
|
|
buildConfig true
|
2019-05-10 12:09:09 +02:00
|
|
|
}
|
2019-01-12 13:10:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
2020-07-19 10:40:53 +02:00
|
|
|
implementation project(':api')
|
2020-07-19 11:16:24 +02:00
|
|
|
implementation project(':db')
|
2019-01-12 16:54:27 +01:00
|
|
|
|
2020-08-10 22:01:51 +02:00
|
|
|
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.0.10'
|
|
|
|
|
2020-10-07 22:10:44 +02:00
|
|
|
testImplementation 'junit:junit:4.13'
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
|
|
|
androidTestImplementation 'androidx.test:runner:1.3.0'
|
|
|
|
androidTestImplementation 'androidx.test:rules:1.3.0'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
|
|
|
|
2020-10-06 22:45:19 +02:00
|
|
|
implementation 'com.google.android.material:material:1.2.1'
|
2019-05-10 13:24:02 +02:00
|
|
|
implementation 'androidx.cardview:cardview:1.0.0'
|
|
|
|
implementation 'androidx.palette:palette:1.0.0'
|
2019-11-24 21:18:00 +01:00
|
|
|
implementation 'androidx.recyclerview:recyclerview:1.1.0'
|
2020-10-06 22:45:19 +02:00
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
|
2019-07-13 13:13:12 +02:00
|
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
2020-10-06 22:45:19 +02:00
|
|
|
implementation 'androidx.preference:preference:1.1.1'
|
2020-07-24 19:38:38 +02:00
|
|
|
implementation "androidx.work:work-runtime-ktx:2.4.0"
|
2020-10-06 22:45:19 +02:00
|
|
|
implementation "androidx.fragment:fragment-ktx:1.2.5"
|
2020-09-06 23:09:59 +02:00
|
|
|
implementation "androidx.browser:browser:1.2.0"
|
2020-10-21 21:31:08 +02:00
|
|
|
testImplementation "org.koin:koin-test:2.1.6"
|
2019-07-30 15:42:42 +02:00
|
|
|
|
2020-10-06 22:45:19 +02:00
|
|
|
implementation 'com.github.bumptech.glide:glide:4.11.0'
|
|
|
|
kapt 'com.github.bumptech.glide:compiler:4.11.0'
|
|
|
|
implementation 'com.github.bumptech.glide:okhttp3-integration:4.11.0'
|
|
|
|
implementation('com.github.bumptech.glide:recyclerview-integration:4.11.0') {
|
2019-01-31 20:32:56 +01:00
|
|
|
transitive = false
|
|
|
|
}
|
2019-01-15 19:43:25 +01:00
|
|
|
|
2020-02-27 22:33:38 +01:00
|
|
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
|
|
|
|
kapt 'androidx.lifecycle:lifecycle-common-java8:2.2.0'
|
2019-08-22 21:19:50 +02:00
|
|
|
|
2019-02-21 16:01:14 +01:00
|
|
|
implementation 'com.afollestad.material-dialogs:core:0.9.6.0'
|
2019-02-23 18:13:10 +01:00
|
|
|
|
2019-07-20 16:46:59 +02:00
|
|
|
implementation 'com.mikepenz:fastadapter:3.3.1'
|
|
|
|
implementation 'com.mikepenz:fastadapter-commons:3.3.0'
|
|
|
|
implementation 'com.mikepenz:materialdrawer:6.1.2'
|
2019-11-24 21:18:00 +01:00
|
|
|
implementation "com.mikepenz:aboutlibraries:6.2.3"
|
2020-01-23 21:54:28 +01:00
|
|
|
|
|
|
|
debugImplementation 'com.facebook.flipper:flipper:0.30.1'
|
2020-10-06 22:45:19 +02:00
|
|
|
debugImplementation 'com.facebook.soloader:soloader:0.9.0'
|
2020-01-23 21:54:28 +01:00
|
|
|
debugImplementation 'com.facebook.flipper:flipper-network-plugin:0.30.1'
|
2019-01-12 13:10:02 +01:00
|
|
|
}
|