NewPlayer/new-player/build.gradle.kts

78 lines
2.3 KiB
Plaintext
Raw Normal View History

2024-07-02 11:43:51 +02:00
plugins {
2024-07-18 14:30:02 +02:00
alias(libs.plugins.android.library)
2024-07-02 11:43:51 +02:00
alias(libs.plugins.jetbrains.kotlin.android)
alias(libs.plugins.kotlinAndroidKsp)
2024-07-08 17:45:54 +02:00
alias(libs.plugins.androidHilt)
alias(libs.plugins.kotlinParcelize)
alias(libs.plugins.composeCompiler)
2024-07-02 11:43:51 +02:00
}
android {
namespace = "net.newpipe.newplayer"
compileSdk = 34
buildFeatures {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.5.1"
}
defaultConfig {
aarMetadata {
minCompileSdk = 21
}
2024-07-02 11:43:51 +02:00
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
2024-07-18 14:30:02 +02:00
consumerProguardFiles("consumer-rules.pro")
2024-07-02 11:43:51 +02:00
}
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"
}
}
dependencies {
implementation(libs.androidx.core.ktx)
implementation(libs.androidx.appcompat)
implementation(libs.material)
implementation(libs.androidx.constraintlayout)
implementation(libs.androidx.material3)
2024-07-02 17:40:49 +02:00
implementation(libs.androidx.ui.tooling)
implementation(libs.androidx.material.icons.extended.android)
2024-07-08 16:05:37 +02:00
implementation(libs.androidx.media3.exoplayer)
implementation(libs.androidx.media3.ui)
implementation(libs.hilt.android)
implementation(libs.androidx.lifecycle.viewmodel.compose)
2024-07-09 18:20:30 +02:00
implementation(libs.androidx.foundation)
2024-07-10 16:31:08 +02:00
implementation(libs.androidx.fragment.ktx)
implementation(libs.androidx.lifecycle.runtime.ktx)
implementation(platform(libs.androidx.compose.bom))
implementation(libs.androidx.ui)
implementation(libs.androidx.ui.graphics)
implementation(libs.androidx.ui.tooling.preview)
2024-07-18 14:30:02 +02:00
implementation(libs.androidx.hilt.navigation.compose)
implementation(libs.androidx.media3.common)
implementation(libs.coil.compose)
2024-07-18 14:30:02 +02:00
ksp(libs.hilt.android.compiler)
ksp(libs.androidx.hilt.compiler)
2024-07-18 14:30:02 +02:00
2024-07-02 11:43:51 +02:00
testImplementation(libs.junit)
2024-07-18 14:30:02 +02:00
2024-07-02 11:43:51 +02:00
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)
}