2023-05-27 10:38:50 -07:00
|
|
|
plugins {
|
|
|
|
|
id("com.android.application")
|
|
|
|
|
id("org.jetbrains.kotlin.android")
|
2023-05-31 13:56:14 -07:00
|
|
|
kotlin("kapt")
|
|
|
|
|
id("com.google.dagger.hilt.android")
|
2023-05-27 10:38:50 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
android {
|
|
|
|
|
namespace = "com.anthonyla.livewallpaper"
|
|
|
|
|
compileSdk = 33
|
|
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
|
applicationId = "com.anthonyla.livewallpaper"
|
|
|
|
|
minSdk = 26
|
|
|
|
|
targetSdk = 33
|
|
|
|
|
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"
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
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 {
|
|
|
|
|
kotlinCompilerExtensionVersion = "1.3.2"
|
|
|
|
|
}
|
|
|
|
|
packagingOptions {
|
|
|
|
|
resources {
|
|
|
|
|
excludes += "/META-INF/{AL2.0,LGPL2.1}"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
implementation("androidx.core:core-ktx:1.10.1")
|
|
|
|
|
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.6.1")
|
|
|
|
|
implementation("androidx.activity:activity-compose:1.7.2")
|
2023-05-31 13:56:14 -07:00
|
|
|
implementation(platform("androidx.compose:compose-bom:2023.05.01"))
|
2023-05-27 10:38:50 -07:00
|
|
|
implementation("androidx.compose.ui:ui")
|
|
|
|
|
implementation("androidx.compose.ui:ui-graphics")
|
|
|
|
|
implementation("androidx.compose.ui:ui-tooling-preview")
|
|
|
|
|
implementation("androidx.compose.material3:material3")
|
2023-05-31 13:56:14 -07:00
|
|
|
implementation("com.google.accompanist:accompanist-systemuicontroller:0.31.3-beta")
|
2023-05-27 10:38:50 -07:00
|
|
|
implementation("androidx.navigation:navigation-compose:2.7.0-alpha01")
|
|
|
|
|
implementation("androidx.compose.material:material:1.5.0-beta01")
|
2023-05-30 17:40:10 -07:00
|
|
|
implementation("androidx.datastore:datastore:1.1.0-alpha04")
|
|
|
|
|
implementation("androidx.datastore:datastore-preferences:1.1.0-alpha04")
|
2023-06-06 10:55:37 -07:00
|
|
|
implementation("androidx.compose.material:material-icons-extended:1.5.0-beta01")
|
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-05-31 13:56:14 -07:00
|
|
|
androidTestImplementation(platform("androidx.compose:compose-bom:2023.05.01"))
|
2023-05-27 10:38:50 -07:00
|
|
|
androidTestImplementation("androidx.compose.ui:ui-test-junit4")
|
|
|
|
|
debugImplementation("androidx.compose.ui:ui-tooling")
|
|
|
|
|
debugImplementation("androidx.compose.ui:ui-test-manifest")
|
2023-05-31 13:56:14 -07:00
|
|
|
implementation("com.google.dagger:hilt-android:2.44.2")
|
|
|
|
|
kapt("com.google.dagger:hilt-android-compiler:2.44")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
kapt {
|
|
|
|
|
correctErrorTypes = true
|
2023-05-27 10:38:50 -07:00
|
|
|
}
|