ViMusic/app/build.gradle.kts

97 lines
2.1 KiB
Text
Raw Normal View History

2022-06-02 16:59:18 +00:00
plugins {
id("com.android.application")
kotlin("android")
kotlin("kapt")
}
android {
2022-08-11 17:41:46 +00:00
compileSdk = 33
2022-06-02 16:59:18 +00:00
defaultConfig {
applicationId = "it.vfsfitvnm.vimusic"
minSdk = 21
2022-08-29 08:55:07 +00:00
targetSdk = 32
2022-08-30 10:04:27 +00:00
versionCode = 15
versionName = "0.4.3"
2022-06-02 16:59:18 +00:00
}
splits {
abi {
reset()
isUniversalApk = true
}
}
2022-07-11 09:58:16 +00:00
namespace = "it.vfsfitvnm.vimusic"
2022-06-02 16:59:18 +00:00
buildTypes {
debug {
applicationIdSuffix = ".debug"
manifestPlaceholders["appName"] = "Debug"
}
release {
isMinifyEnabled = true
isShrinkResources = true
manifestPlaceholders["appName"] = "ViMusic"
signingConfig = signingConfigs.getByName("debug")
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
}
sourceSets.all {
kotlin.srcDir("src/$name/kotlin")
}
buildFeatures {
compose = true
}
compileOptions {
2022-06-13 20:26:44 +00:00
isCoreLibraryDesugaringEnabled = true
2022-06-02 16:59:18 +00:00
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
composeOptions {
2022-06-30 22:01:06 +00:00
kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get()
2022-06-02 16:59:18 +00:00
}
kotlinOptions {
freeCompilerArgs += "-Xcontext-receivers"
jvmTarget = "1.8"
}
}
kapt {
arguments {
arg("room.schemaLocation", "$projectDir/schemas")
}
}
dependencies {
implementation(projects.composeRouting)
implementation(projects.composeReordering)
implementation(libs.compose.activity)
implementation(libs.compose.foundation)
implementation(libs.compose.ui)
implementation(libs.compose.ui.util)
implementation(libs.compose.ripple)
implementation(libs.compose.shimmer)
implementation(libs.compose.coil)
2022-08-10 11:09:35 +00:00
implementation(libs.palette)
2022-06-02 16:59:18 +00:00
2022-06-25 14:04:52 +00:00
implementation(libs.exoplayer)
2022-06-02 16:59:18 +00:00
implementation(libs.room)
kapt(libs.room.compiler)
2022-08-29 08:40:06 +00:00
annotationProcessor(libs.room.compiler)
2022-06-02 16:59:18 +00:00
implementation(projects.innertube)
2022-08-06 17:45:00 +00:00
implementation(projects.kugou)
2022-06-13 20:26:44 +00:00
coreLibraryDesugaring(libs.desugaring)
2022-06-02 16:59:18 +00:00
}