plugins { id 'com.android.application' id 'org.jetbrains.kotlin.android' id 'kotlin-parcelize' alias(libs.plugins.serialization) } android { namespace 'com.ustadmobile.ustadapiconsumer' compileSdk 34 defaultConfig { applicationId "com.ustadmobile.ustadapiconsumer" minSdk 21 targetSdk 34 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables { useSupportLibrary true } multiDexEnabled true //required for all variants to use java library desugaring } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 coreLibraryDesugaringEnabled true } kotlinOptions { jvmTarget = JavaVersion.VERSION_17 } buildFeatures { compose true } composeOptions { //Version as per https://developer.android.com/develop/ui/compose/setup#setup-compose kotlinCompilerExtensionVersion '1.5.13' } packagingOptions { resources { excludes += '/META-INF/{AL2.0,LGPL2.1}' } } } dependencies { coreLibraryDesugaring libs.android.desugar.libs implementation libs.androidx.core.ktx implementation libs.androidx.lifecycle implementation platform(libs.androidx.compose.bom) implementation libs.androidx.activity.compose implementation libs.androidx.compose.ui implementation libs.androidx.compose.ui.tooling.preview implementation libs.androidx.compose.material implementation libs.androidx.compose.material3 implementation libs.androidx.navigation.compose implementation libs.httpoveripc.core implementation libs.httpoveripc.client implementation libs.nanohttpd implementation libs.rawhttp.core implementation libs.ktor.client.core implementation libs.kotlinx.serialization testImplementation libs.junit debugImplementation libs.androidx.compose.ui.tooling debugImplementation libs.androidx.compose.ui.test.manifest }