import org.jetbrains.kotlin.gradle.dsl.JvmTarget plugins { alias(libs.plugins.android.application) alias(libs.plugins.kotlin.android) } android { namespace = "io.github.thibaultbee.streampack.app" compileSdk { version = release(36) } defaultConfig { applicationId = "io.github.thibaultbee.streampack.app" minSdk = 24 targetSdk = 36 versionCode = 1 versionName = "1.0" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { isMinifyEnabled = false proguardFiles( getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro" ) } } compileOptions { sourceCompatibility = JavaVersion.VERSION_18 targetCompatibility = JavaVersion.VERSION_18 } kotlin { compilerOptions { jvmTarget.set(JvmTarget.JVM_18) } } buildFeatures { viewBinding = true } } dependencies { implementation(libs.streampack.core) // For the `PreviewView` implementation(libs.streampack.ui) // TODO: Only needed for RTMP live streaming: remove if you don't need it implementation(libs.streampack.rtmp) // TODO: Only needed for SRT live streaming: remove if you don't need it implementation(libs.streampack.srt) implementation(libs.core.ktx) implementation(libs.appcompat) implementation(libs.material) implementation(libs.constraintlayout) implementation(libs.lifecycle.runtime.ktx) testImplementation(libs.junit) androidTestImplementation(libs.ext.junit) androidTestImplementation(libs.espresso.core) }