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")
|
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
|
2023-05-27 10:38:50 -07:00
|
|
|
versionCode = 1
|
|
|
|
|
versionName = "1.0"
|
|
|
|
|
|
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
|
vectorDrawables {
|
|
|
|
|
useSupportLibrary = true
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
|
release {
|
|
|
|
|
isMinifyEnabled = false
|
|
|
|
|
proguardFiles(
|
|
|
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
|
|
|
"proguard-rules.pro"
|
|
|
|
|
)
|
2023-10-09 22:17:36 -07:00
|
|
|
signingConfig = signingConfigs.getByName("debug")
|
2023-05-27 10:38:50 -07:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
compileOptions {
|
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
|
}
|
|
|
|
|
kotlinOptions {
|
|
|
|
|
jvmTarget = "1.8"
|
|
|
|
|
}
|
|
|
|
|
buildFeatures {
|
|
|
|
|
compose = true
|
2023-05-31 13:56:14 -07:00
|
|
|
viewBinding = true
|
2023-05-27 10:38:50 -07:00
|
|
|
}
|
|
|
|
|
composeOptions {
|
2023-08-11 10:29:32 -07:00
|
|
|
kotlinCompilerExtensionVersion = "1.5.1"
|
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 {
|
2023-10-09 22:17:36 -07:00
|
|
|
implementation("androidx.core:core-ktx:1.12.0")
|
2023-10-21 18:27:14 -07:00
|
|
|
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.7.0-alpha03")
|
2023-10-09 22:17:36 -07:00
|
|
|
implementation("androidx.activity:activity-compose:1.8.0")
|
2023-10-21 18:27:14 -07:00
|
|
|
implementation(platform("androidx.compose:compose-bom:2023.10.01"))
|
|
|
|
|
implementation("androidx.compose.ui:ui:1.6.0-alpha08")
|
|
|
|
|
implementation("androidx.compose.ui:ui-graphics:1.6.0-alpha08")
|
|
|
|
|
implementation("androidx.compose.ui:ui-tooling-preview:1.6.0-alpha08")
|
|
|
|
|
implementation("androidx.compose.material3:material3:1.2.0-alpha10")
|
2023-10-09 22:17:36 -07:00
|
|
|
implementation("androidx.navigation:navigation-compose:2.7.4")
|
2023-10-21 18:27:14 -07:00
|
|
|
implementation("androidx.compose.material:material:1.6.0-alpha08")
|
2023-10-09 22:17:36 -07:00
|
|
|
implementation("androidx.datastore:datastore:1.1.0-alpha05")
|
|
|
|
|
implementation("androidx.datastore:datastore-preferences:1.1.0-alpha05")
|
2023-10-21 18:27:14 -07:00
|
|
|
implementation("androidx.compose.material:material-icons-extended:1.6.0-alpha08")
|
2023-10-09 22:17:36 -07:00
|
|
|
implementation("com.google.accompanist:accompanist-adaptive:0.33.2-alpha")
|
2023-06-11 16:32:02 -07:00
|
|
|
implementation("io.coil-kt:coil:2.4.0")
|
2023-08-11 10:29:32 -07:00
|
|
|
implementation("io.coil-kt:coil-compose:2.4.0")
|
2023-10-21 18:27:14 -07:00
|
|
|
implementation("androidx.hilt:hilt-navigation-compose:1.1.0-rc01")
|
|
|
|
|
implementation("androidx.compose.animation:animation:1.6.0-alpha08")
|
2023-10-09 22:17:36 -07:00
|
|
|
implementation("androidx.core:core-splashscreen:1.1.0-alpha02")
|
2023-10-21 18:27:14 -07:00
|
|
|
implementation("androidx.lifecycle:lifecycle-runtime-compose:2.7.0-alpha03")
|
2023-10-17 16:07:27 -07:00
|
|
|
implementation("com.google.code.gson:gson:2.10.1")
|
|
|
|
|
implementation("androidx.documentfile:documentfile:1.1.0-alpha01")
|
2023-10-21 14:24:43 -07:00
|
|
|
implementation("net.engawapg.lib:zoomable:1.5.1")
|
2023-05-27 10:38:50 -07:00
|
|
|
testImplementation("junit:junit:4.13.2")
|
|
|
|
|
androidTestImplementation("androidx.test.ext:junit:1.1.5")
|
|
|
|
|
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
|
2023-10-21 18:27:14 -07:00
|
|
|
androidTestImplementation("androidx.compose.ui:ui-test-junit4:1.6.0-alpha08")
|
|
|
|
|
debugImplementation("androidx.compose.ui:ui-tooling:1.6.0-alpha08")
|
|
|
|
|
debugImplementation("androidx.compose.ui:ui-test-manifest:1.5.4")
|
2023-10-09 22:17:36 -07:00
|
|
|
implementation("com.google.dagger:hilt-android:2.48.1")
|
|
|
|
|
ksp("com.google.dagger:hilt-android-compiler:2.48.1")
|
2023-10-21 18:27:14 -07:00
|
|
|
implementation("androidx.room:room-runtime:2.6.0")
|
|
|
|
|
ksp("androidx.room:room-compiler:2.6.0")
|
|
|
|
|
implementation("androidx.room:room-ktx:2.6.0")
|
2023-05-27 10:38:50 -07:00
|
|
|
}
|