plugins { alias ( libs . plugins . android . application ) alias ( libs . plugins . kotlin . android ) alias ( libs . plugins . kotlin . compose ) alias ( libs . plugins . kotlin . serialization ) } android { namespace = "com.kernelmaft.zanbur" compileSdk = 34 defaultConfig { applicationId = "com.kernelmaft.zanbur" minSdk = 31 targetSdk = 34 versionCode = 1 versionName = "1.0" } buildTypes { release { isMinifyEnabled = true isShrinkResources = true } } compileOptions { targetCompatibility = JavaVersion . VERSION_11 } kotlinOptions { jvmTarget = "11" } buildToolsVersion = "34.0.0" buildFeatures { compose = true } composeOptions { kotlinCompilerExtensionVersion = "1.5.14" } } dependencies { // Runtime libraries implementation ( libs . android . material ) implementation ( libs . androidx . activity . compose ) implementation ( libs . androidx . core . ktx ) implementation ( libs . androidx . compose . material3 ) implementation ( libs . androidx . compose . ui ) implementation ( libs . androidx . compose . ui . graphics ) debugImplementation ( libs . androidx . compose . ui . tooling ) implementation ( libs . androidx . lifecycle . runtime . ktx ) implementation ( libs . kotlinx . coroutines . android ) implementation ( libs . kotlinx . serialization . json ) // Other libraries implementation ( libs . kmqtt . common ) implementation ( libs . kmqtt . client ) } tasks . withType ( org . jetbrains . kotlin . gradle . tasks . KotlinCompile :: class ) . all { compilerOptions { freeCompilerArgs . addAll ( "-opt-in=kotlin.ExperimentalUnsignedTypes" ) } }