0.0.1 - Initial

This commit is contained in:
Acclorite 2023-12-30 00:20:41 +02:00
commit 34d3e5c38a
46 changed files with 1004 additions and 0 deletions

97
app/build.gradle.kts Normal file
View file

@ -0,0 +1,97 @@
plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")
id("com.google.devtools.ksp")
kotlin("kapt")
}
android {
namespace = "com.acclorite.books_history"
compileSdk = 34
defaultConfig {
applicationId = "com.acclorite.books_history"
minSdk = 26
targetSdk = 34
versionCode = 1
versionName = "0.0.1"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
useSupportLibrary = true
}
}
buildTypes {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "17"
}
buildFeatures {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.5.7"
}
packaging {
resources {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
}
}
}
dependencies {
val composeVersion = "1.5.7"
// Default
implementation("androidx.core:core-ktx:1.12.0")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.6.2")
implementation("androidx.activity:activity-compose:1.8.2")
implementation(platform("androidx.compose:compose-bom:latest.release"))
implementation("androidx.compose.ui:ui:$composeVersion")
implementation("androidx.compose.ui:ui-graphics:$composeVersion")
implementation("androidx.compose.ui:ui-tooling-preview:$composeVersion")
implementation("androidx.compose.ui:ui-android:latest.release")
implementation("androidx.compose.material3:material3")
// Debug
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.ext:junit:1.1.5")
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
androidTestImplementation(platform("androidx.compose:compose-bom:2023.08.00"))
androidTestImplementation("androidx.compose.ui:ui-test-junit4")
debugImplementation("androidx.compose.ui:ui-tooling")
debugImplementation("androidx.compose.ui:ui-test-manifest")
// All dependencies
implementation ("androidx.lifecycle:lifecycle-viewmodel-compose:2.6.2")
implementation ("androidx.compose.material:material-icons-extended:$composeVersion")
implementation ("androidx.activity:activity-compose:1.8.2")
implementation ("com.google.accompanist:accompanist-swiperefresh:0.24.2-alpha")
//Dagger - Hilt
implementation ("com.google.dagger:hilt-compiler:latest.release")
implementation ("com.google.dagger:hilt-android:latest.release")
kapt ("com.google.dagger:hilt-android-compiler:latest.release")
kapt ("androidx.hilt:hilt-compiler:latest.release")
implementation ("androidx.hilt:hilt-navigation-compose:1.1.0")
// Room
implementation ("androidx.room:room-runtime:2.6.1")
ksp ("androidx.room:room-compiler:2.6.1")
// Kotlin Extensions and Coroutines support for Room
implementation ("androidx.room:room-ktx:2.6.1")
}