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'
|
2020-02-27 22:33:38 +01:00
|
|
|
apply plugin: 'kotlin-android-extensions'
|
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-08-01 15:40:49 +02:00
|
|
|
versionCode 11
|
|
|
|
versionName "1.2.0"
|
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
|
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-09-05 14:23:48 +02:00
|
|
|
implementation 'com.google.android.material:material:1.2.0'
|
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'
|
2019-05-10 13:24:02 +02:00
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
2019-07-13 13:13:12 +02:00
|
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
2019-09-19 10:39:15 +02:00
|
|
|
implementation 'androidx.preference:preference:1.1.0'
|
2020-02-27 22:33:38 +01:00
|
|
|
implementation "androidx.core:core-ktx:1.2.0"
|
2019-11-24 21:18:00 +01:00
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
2020-07-24 19:38:38 +02:00
|
|
|
implementation "androidx.work:work-runtime-ktx:2.4.0"
|
2020-03-29 21:34:18 +02:00
|
|
|
implementation "androidx.fragment:fragment-ktx:1.2.3"
|
2020-09-06 23:09:59 +02:00
|
|
|
implementation "androidx.browser:browser:1.2.0"
|
2019-07-30 15:42:42 +02:00
|
|
|
|
2019-01-12 13:10:02 +01:00
|
|
|
testImplementation 'junit:junit:4.12'
|
2020-02-12 22:53:52 +01:00
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
2019-07-20 16:46:59 +02:00
|
|
|
androidTestImplementation 'androidx.test:runner:1.2.0'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
2019-01-12 15:07:04 +01:00
|
|
|
|
2019-09-19 10:39:15 +02:00
|
|
|
implementation 'com.github.bumptech.glide:glide:4.10.0'
|
|
|
|
kapt 'com.github.bumptech.glide:compiler:4.10.0'
|
|
|
|
implementation 'com.github.bumptech.glide:okhttp3-integration:4.10.0'
|
|
|
|
implementation('com.github.bumptech.glide:recyclerview-integration:4.10.0') {
|
2019-01-31 20:32:56 +01:00
|
|
|
// Excludes the support library because it's already included by Glide.
|
|
|
|
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'
|
|
|
|
debugImplementation 'com.facebook.soloader:soloader:0.8.0'
|
|
|
|
debugImplementation 'com.facebook.flipper:flipper-network-plugin:0.30.1'
|
2020-07-10 21:09:22 +02:00
|
|
|
|
|
|
|
debugImplementation 'com.icapps.niddler:niddler:1.2.0'
|
|
|
|
releaseImplementation 'com.icapps.niddler:niddler-noop:1.2.0'
|
2019-01-12 13:10:02 +01:00
|
|
|
}
|