2023-05-27 10:38:50 -07:00
|
|
|
plugins {
|
|
|
|
|
id("com.android.application")
|
|
|
|
|
id("org.jetbrains.kotlin.android")
|
2023-08-11 10:29:32 -07:00
|
|
|
id("com.google.devtools.ksp")
|
2023-05-31 13:56:14 -07:00
|
|
|
id("com.google.dagger.hilt.android")
|
2024-04-28 23:39:10 -07:00
|
|
|
id ("com.mikepenz.aboutlibraries.plugin")
|
2024-05-02 14:09:15 -07:00
|
|
|
id ("org.jetbrains.kotlin.plugin.serialization")
|
2023-05-27 10:38:50 -07:00
|
|
|
}
|
2023-10-31 19:52:33 -07:00
|
|
|
ksp {
|
|
|
|
|
arg("room.schemaLocation", "$projectDir/schemas")
|
|
|
|
|
}
|
2024-05-17 22:52:14 -07:00
|
|
|
|
2023-05-27 10:38:50 -07:00
|
|
|
android {
|
2023-06-06 13:13:54 -07:00
|
|
|
namespace = "com.anthonyla.paperize"
|
2023-08-11 10:29:32 -07:00
|
|
|
compileSdk = 34
|
2023-05-27 10:38:50 -07:00
|
|
|
|
|
|
|
|
defaultConfig {
|
2023-06-06 13:13:54 -07:00
|
|
|
applicationId = "com.anthonyla.paperize"
|
2023-05-27 10:38:50 -07:00
|
|
|
minSdk = 26
|
2023-08-11 10:29:32 -07:00
|
|
|
targetSdk = 34
|
2024-05-27 14:50:55 -07:00
|
|
|
versionCode = 15
|
|
|
|
|
versionName = "1.4.1"
|
2023-05-27 10:38:50 -07:00
|
|
|
|
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
|
vectorDrawables {
|
|
|
|
|
useSupportLibrary = true
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-05-01 15:11:57 -07:00
|
|
|
|
2023-05-27 10:38:50 -07:00
|
|
|
buildTypes {
|
|
|
|
|
release {
|
2023-10-25 15:38:38 -07:00
|
|
|
isMinifyEnabled = true
|
2023-05-27 10:38:50 -07:00
|
|
|
proguardFiles(
|
|
|
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
2023-10-31 19:52:33 -07:00
|
|
|
"proguard-rules.pro"
|
2023-05-27 10:38:50 -07:00
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
compileOptions {
|
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
|
}
|
|
|
|
|
kotlinOptions {
|
|
|
|
|
jvmTarget = "1.8"
|
2024-05-17 22:52:14 -07:00
|
|
|
freeCompilerArgs += strongSkippingConfiguration()
|
2023-05-27 10:38:50 -07:00
|
|
|
}
|
|
|
|
|
buildFeatures {
|
|
|
|
|
compose = true
|
2023-05-31 13:56:14 -07:00
|
|
|
viewBinding = true
|
2024-05-14 19:06:33 -07:00
|
|
|
buildConfig = true
|
2023-05-27 10:38:50 -07:00
|
|
|
}
|
|
|
|
|
composeOptions {
|
2024-05-02 14:09:15 -07:00
|
|
|
kotlinCompilerExtensionVersion = "1.5.10"
|
2023-05-27 10:38:50 -07:00
|
|
|
}
|
2024-05-12 22:46:00 -07:00
|
|
|
|
|
|
|
|
androidResources {
|
|
|
|
|
generateLocaleConfig = true
|
|
|
|
|
}
|
2023-05-27 10:38:50 -07:00
|
|
|
}
|
|
|
|
|
|
2023-10-21 18:27:14 -07:00
|
|
|
androidComponents {
|
|
|
|
|
onVariants(selector().withBuildType("release")) {
|
|
|
|
|
it.packaging.resources.excludes.add("META-INF/**")
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2023-05-27 10:38:50 -07:00
|
|
|
dependencies {
|
2024-05-02 14:09:15 -07:00
|
|
|
implementation("androidx.core:core-ktx:1.13.1")
|
2024-05-17 22:52:14 -07:00
|
|
|
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.0")
|
2024-04-22 16:58:47 -07:00
|
|
|
implementation("androidx.activity:activity-compose:1.9.0")
|
2024-05-02 14:09:15 -07:00
|
|
|
implementation(platform("androidx.compose:compose-bom:2024.05.00"))
|
2024-05-17 22:52:14 -07:00
|
|
|
implementation("androidx.compose.ui:ui:1.7.0-beta01")
|
|
|
|
|
implementation("androidx.compose.ui:ui-graphics:1.7.0-beta01")
|
|
|
|
|
implementation("androidx.compose.ui:ui-tooling-preview:1.7.0-beta01")
|
|
|
|
|
implementation("androidx.compose.material3:material3:1.3.0-beta01")
|
|
|
|
|
implementation("androidx.navigation:navigation-compose:2.8.0-beta01")
|
|
|
|
|
implementation("androidx.compose.material:material:1.7.0-beta01")
|
2024-05-02 14:09:15 -07:00
|
|
|
implementation("androidx.datastore:datastore:1.1.1")
|
|
|
|
|
implementation("androidx.datastore:datastore-preferences:1.1.1")
|
2024-05-17 22:52:14 -07:00
|
|
|
implementation("androidx.compose.material:material-icons-extended:1.7.0-beta01")
|
2024-04-06 17:39:46 -07:00
|
|
|
implementation("com.google.accompanist:accompanist-adaptive:0.34.0")
|
|
|
|
|
implementation("androidx.hilt:hilt-navigation-compose:1.2.0")
|
2024-05-17 22:52:14 -07:00
|
|
|
implementation("androidx.compose.animation:animation:1.7.0-beta01")
|
2024-04-29 22:22:22 -07:00
|
|
|
implementation("androidx.core:core-splashscreen:1.2.0-alpha01")
|
2024-05-17 22:52:14 -07:00
|
|
|
implementation("androidx.lifecycle:lifecycle-runtime-compose:2.8.0")
|
2024-05-23 01:57:54 -07:00
|
|
|
implementation("com.google.code.gson:gson:2.11.0")
|
2023-10-17 16:07:27 -07:00
|
|
|
implementation("androidx.documentfile:documentfile:1.1.0-alpha01")
|
2024-04-29 18:50:01 -07:00
|
|
|
implementation("net.engawapg.lib:zoomable:1.7.0-beta02")
|
2024-04-22 16:58:47 -07:00
|
|
|
implementation("com.github.skydoves:landscapist-glide:2.3.3")
|
|
|
|
|
implementation("androidx.work:work-runtime-ktx:2.10.0-alpha02")
|
|
|
|
|
implementation("androidx.hilt:hilt-work:1.2.0")
|
2024-04-27 20:10:25 -07:00
|
|
|
implementation("com.airbnb.android:lottie-compose:6.4.0")
|
2024-04-28 23:39:10 -07:00
|
|
|
implementation("com.google.accompanist:accompanist-permissions:0.35.0-alpha")
|
2024-05-23 01:57:54 -07:00
|
|
|
implementation("com.mikepenz:aboutlibraries-core:11.2.0")
|
|
|
|
|
implementation("com.mikepenz:aboutlibraries-compose-m3:11.2.0")
|
2024-05-17 22:52:14 -07:00
|
|
|
implementation("androidx.compose.foundation:foundation:1.7.0-beta01")
|
2023-05-27 10:38:50 -07:00
|
|
|
testImplementation("junit:junit:4.13.2")
|
|
|
|
|
androidTestImplementation("androidx.test.ext:junit:1.1.5")
|
2024-05-23 01:57:54 -07:00
|
|
|
androidTestImplementation("androidx.test.espresso:espresso-core:3.6.0-beta01")
|
2024-05-17 22:52:14 -07:00
|
|
|
androidTestImplementation("androidx.compose.ui:ui-test-junit4:1.7.0-beta01")
|
|
|
|
|
debugImplementation("androidx.compose.ui:ui-tooling:1.7.0-beta01")
|
|
|
|
|
debugImplementation("androidx.compose.ui:ui-test-manifest:1.7.0-beta01")
|
2024-04-06 17:39:46 -07:00
|
|
|
implementation("com.google.dagger:hilt-android:2.51.1")
|
|
|
|
|
ksp("com.google.dagger:hilt-android-compiler:2.51.1")
|
|
|
|
|
implementation("androidx.room:room-runtime:2.6.1")
|
|
|
|
|
ksp("androidx.room:room-compiler:2.6.1")
|
|
|
|
|
implementation("androidx.room:room-ktx:2.6.1")
|
2023-10-25 15:38:38 -07:00
|
|
|
implementation("com.lazygeniouz:dfc:1.0.8")
|
2024-05-02 14:09:15 -07:00
|
|
|
implementation ("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3")
|
2024-05-23 01:57:54 -07:00
|
|
|
implementation("com.github.android:renderscript-intrinsics-replacement-toolkit:b6363490c3")
|
2024-05-17 22:52:14 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private fun strongSkippingConfiguration() = listOf(
|
|
|
|
|
"-P",
|
|
|
|
|
"plugin:androidx.compose.compiler.plugins.kotlin:experimentalStrongSkipping=true",
|
|
|
|
|
)
|