40 lines
976 B
Plaintext
40 lines
976 B
Plaintext
plugins {
|
|
id("com.android.library")
|
|
id("org.jetbrains.kotlin.android")
|
|
}
|
|
|
|
android {
|
|
namespace = "com.dtourolle.jellytau.player"
|
|
compileSdk = 36
|
|
|
|
defaultConfig {
|
|
minSdk = 24
|
|
}
|
|
|
|
buildTypes {
|
|
getByName("debug") {
|
|
}
|
|
getByName("release") {
|
|
isMinifyEnabled = false
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation("androidx.media3:media3-exoplayer:1.5.1")
|
|
implementation("androidx.media3:media3-exoplayer-hls:1.5.1")
|
|
implementation("androidx.media3:media3-common:1.5.1")
|
|
implementation("androidx.media3:media3-session:1.5.1")
|
|
implementation("androidx.media:media:1.7.0") // For MediaSessionCompat and VolumeProviderCompat
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.1")
|
|
}
|