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
|
|
|
|
|
2021-10-10 19:48:54 +02:00
|
|
|
versionCode 14
|
|
|
|
versionName "1.3.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
|
|
|
|
}
|
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
|
|
|
|
|
2021-09-16 22:29:25 +02:00
|
|
|
testCoverageEnabled true
|
2019-09-18 22:14:00 +02:00
|
|
|
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
|
2023-02-21 21:44:02 +01:00
|
|
|
compose true
|
2019-05-10 12:09:09 +02:00
|
|
|
}
|
2023-02-21 21:44:02 +01:00
|
|
|
|
|
|
|
composeOptions {
|
|
|
|
kotlinCompilerExtensionVersion = "1.4.0"
|
|
|
|
}
|
|
|
|
|
2023-02-20 19:13:06 +01:00
|
|
|
lint {
|
|
|
|
abortOnError false
|
|
|
|
}
|
2023-02-21 21:44:02 +01:00
|
|
|
|
|
|
|
|
2023-02-20 19:13:06 +01:00
|
|
|
namespace 'com.readrops.app'
|
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
|
|
|
|
2021-07-03 19:44:42 +02:00
|
|
|
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
|
2020-08-10 22:01:51 +02:00
|
|
|
|
2020-10-07 22:10:44 +02:00
|
|
|
testImplementation 'junit:junit:4.13'
|
2021-07-03 19:44:42 +02:00
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
|
|
|
androidTestImplementation 'androidx.test:runner:1.4.0'
|
|
|
|
androidTestImplementation 'androidx.test:rules:1.4.0'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
2020-10-07 22:10:44 +02:00
|
|
|
|
2021-07-03 19:44:42 +02:00
|
|
|
implementation 'com.google.android.material:material:1.4.0'
|
2019-05-10 13:24:02 +02:00
|
|
|
implementation 'androidx.cardview:cardview:1.0.0'
|
2021-07-03 19:44:42 +02:00
|
|
|
implementation 'androidx.palette:palette-ktx:1.0.0'
|
|
|
|
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
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'
|
2023-02-21 21:44:02 +01:00
|
|
|
implementation "androidx.work:work-runtime-ktx:2.8.0"
|
2021-07-03 19:44:42 +02:00
|
|
|
implementation "androidx.fragment:fragment-ktx:1.3.5"
|
|
|
|
implementation "androidx.browser:browser:1.3.0"
|
2021-09-20 19:27:12 +02:00
|
|
|
|
|
|
|
testImplementation "io.insert-koin:koin-test:$rootProject.ext.koin_version"
|
|
|
|
testImplementation "io.insert-koin:koin-test-junit4:$rootProject.ext.koin_version"
|
2019-07-30 15:42:42 +02:00
|
|
|
|
2021-07-03 19:44:42 +02:00
|
|
|
implementation 'com.github.bumptech.glide:glide:4.12.0'
|
|
|
|
kapt 'com.github.bumptech.glide:compiler:4.12.0'
|
|
|
|
implementation 'com.github.bumptech.glide:okhttp3-integration:4.12.0'
|
|
|
|
implementation('com.github.bumptech.glide:recyclerview-integration:4.12.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'
|
2021-07-03 19:44:42 +02:00
|
|
|
kapt 'androidx.lifecycle:lifecycle-common-java8:2.3.1'
|
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
|
|
|
|
2021-07-11 19:26:11 +02:00
|
|
|
implementation 'com.mikepenz:fastadapter:3.2.9'
|
2019-07-20 16:46:59 +02:00
|
|
|
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"
|
2021-07-11 19:26:11 +02:00
|
|
|
implementation "com.mikepenz:iconics-views:3.2.5"
|
|
|
|
implementation "com.mikepenz:iconics-core:3.2.5"
|
2020-01-23 21:54:28 +01:00
|
|
|
|
2021-07-02 18:56:11 +02:00
|
|
|
debugImplementation 'com.facebook.flipper:flipper:0.96.1'
|
|
|
|
debugImplementation 'com.facebook.soloader:soloader:0.10.1'
|
|
|
|
debugImplementation 'com.facebook.flipper:flipper-network-plugin:0.96.1'
|
2023-02-21 21:44:02 +01:00
|
|
|
|
|
|
|
def composeBom = platform('androidx.compose:compose-bom:2022.12.00')
|
|
|
|
implementation composeBom
|
|
|
|
androidTestImplementation composeBom
|
|
|
|
|
|
|
|
implementation 'androidx.activity:activity-compose:1.5.1'
|
2023-02-26 16:18:30 +01:00
|
|
|
implementation 'androidx.compose.material3:material3'
|
2023-02-21 21:44:02 +01:00
|
|
|
|
2023-02-26 16:18:30 +01:00
|
|
|
def voyager = "1.0.0-rc03"
|
|
|
|
implementation "cafe.adriel.voyager:voyager-navigator:$voyager"
|
|
|
|
implementation "cafe.adriel.voyager:voyager-bottom-sheet-navigator:$voyager"
|
|
|
|
implementation "cafe.adriel.voyager:voyager-tab-navigator:$voyager"
|
|
|
|
implementation "cafe.adriel.voyager:voyager-androidx:$voyager"
|
|
|
|
//implementation "cafe.adriel.voyager:voyager-koin:$voyager"
|
|
|
|
|
|
|
|
debugImplementation "androidx.compose.ui:ui-tooling:1.3.3"
|
|
|
|
implementation "androidx.compose.ui:ui-tooling-preview:1.3.3"
|
2019-01-12 13:10:02 +01:00
|
|
|
}
|