2023-12-18 05:38:10 +01:00
|
|
|
plugins {
|
|
|
|
id("com.android.application")
|
2023-12-22 20:05:39 +01:00
|
|
|
id("org.jetbrains.kotlin.android")
|
2024-01-05 00:36:58 +01:00
|
|
|
id("com.google.devtools.ksp")
|
|
|
|
id("com.google.dagger.hilt.android")
|
2023-12-18 05:38:10 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
namespace = "org.musicpd"
|
|
|
|
compileSdk = 34
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId = "org.musicpd"
|
|
|
|
minSdk = 24
|
|
|
|
targetSdk = 30
|
|
|
|
versionCode = 1
|
|
|
|
versionName = "1.0"
|
2023-12-22 20:05:39 +01:00
|
|
|
vectorDrawables {
|
|
|
|
useSupportLibrary = true
|
|
|
|
}
|
2023-12-18 05:38:10 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
buildFeatures {
|
|
|
|
aidl = true
|
2023-12-22 20:05:39 +01:00
|
|
|
compose = true
|
|
|
|
}
|
|
|
|
|
|
|
|
composeOptions {
|
2024-01-05 00:36:58 +01:00
|
|
|
kotlinCompilerExtensionVersion = "1.5.7"
|
2023-12-18 05:38:10 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
isMinifyEnabled = false
|
|
|
|
proguardFiles(
|
|
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
|
|
"proguard-rules.pro"
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
compileOptions {
|
2023-12-22 19:30:27 +01:00
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_9
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_9
|
2023-12-18 05:38:10 +01:00
|
|
|
}
|
2023-12-22 20:05:39 +01:00
|
|
|
kotlinOptions {
|
2023-12-27 20:34:37 +01:00
|
|
|
jvmTarget = "9"
|
2023-12-22 20:05:39 +01:00
|
|
|
}
|
|
|
|
packaging {
|
|
|
|
resources {
|
|
|
|
excludes += "/META-INF/{AL2.0,LGPL2.1}"
|
|
|
|
}
|
|
|
|
}
|
2023-12-18 05:38:10 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-12-22 20:05:39 +01:00
|
|
|
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.6.2")
|
|
|
|
implementation(platform("androidx.compose:compose-bom:2023.10.01"))
|
|
|
|
|
|
|
|
implementation("androidx.compose.material3:material3")
|
|
|
|
implementation("androidx.activity:activity-compose:1.8.2")
|
2023-12-23 05:52:33 +01:00
|
|
|
implementation("androidx.compose.material:material-icons-extended")
|
|
|
|
implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.6.2")
|
|
|
|
implementation("androidx.lifecycle:lifecycle-runtime-compose:2.6.2")
|
2024-01-18 08:20:37 +01:00
|
|
|
implementation("androidx.navigation:navigation-compose:2.7.6")
|
2023-12-23 05:52:33 +01:00
|
|
|
|
|
|
|
implementation("com.github.alorma:compose-settings-ui-m3:1.0.3")
|
|
|
|
implementation("com.github.alorma:compose-settings-storage-preferences:1.0.3")
|
|
|
|
implementation("com.google.accompanist:accompanist-permissions:0.33.2-alpha")
|
2023-12-22 20:05:39 +01:00
|
|
|
|
2024-01-05 00:36:58 +01:00
|
|
|
implementation("com.google.dagger:hilt-android:2.49")
|
|
|
|
ksp("com.google.dagger:dagger-compiler:2.49")
|
|
|
|
ksp("com.google.dagger:hilt-compiler:2.49")
|
|
|
|
|
2024-01-06 01:17:54 +01:00
|
|
|
implementation("androidx.media3:media3-session:1.2.0")
|
|
|
|
|
2023-12-22 20:05:39 +01:00
|
|
|
// Android Studio Preview support
|
|
|
|
implementation("androidx.compose.ui:ui-tooling-preview")
|
|
|
|
debugImplementation("androidx.compose.ui:ui-tooling")
|
|
|
|
debugImplementation("androidx.compose.ui:ui-test-manifest")
|
|
|
|
|
2023-12-18 05:38:10 +01:00
|
|
|
implementation("androidx.appcompat:appcompat:1.6.1")
|
2023-12-27 20:27:02 +01:00
|
|
|
}
|