mirror of
https://github.com/oxyroid/M3UAndroid.git
synced 2025-08-06 14:59:48 +08:00
56 lines
1.5 KiB
Plaintext
56 lines
1.5 KiB
Plaintext
plugins {
|
|
alias(libs.plugins.com.android.library)
|
|
alias(libs.plugins.org.jetbrains.kotlin.android)
|
|
alias(libs.plugins.com.google.devtools.ksp)
|
|
alias(libs.plugins.com.google.dagger.hilt.android)
|
|
}
|
|
|
|
android {
|
|
namespace = "com.m3u.features.console"
|
|
compileSdk = 33
|
|
defaultConfig {
|
|
minSdk = 26
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles("consumer-rules.pro")
|
|
}
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = true
|
|
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 = libs.versions.compose.compiler.get()
|
|
}
|
|
lint {
|
|
baseline = file("lint-baseline.xml")
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":core"))
|
|
implementation(project(":data"))
|
|
implementation(project(":ui"))
|
|
|
|
implementation(libs.androidx.core.core.ktx)
|
|
|
|
implementation(libs.androidx.lifecycle.lifecycle.runtime.ktx)
|
|
implementation(libs.androidx.lifecycle.lifecycle.runtime.compose)
|
|
|
|
implementation(libs.com.google.dagger.hilt.android)
|
|
implementation(libs.androidx.hilt.hilt.navigation.compose)
|
|
ksp(libs.com.google.dagger.hilt.compiler)
|
|
} |