plugins { id 'com.android.library' version '8.0.2' id 'org.jetbrains.kotlin.android' version '1.8.20' } android { namespace 'org.futo.voiceinput.shared' compileSdk 33 defaultConfig { minSdk 24 targetSdk 33 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles "consumer-rules.pro" } buildTypes { release { minifyEnabled 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' } buildFeatures { compose true viewBinding true mlModelBinding true } composeOptions { kotlinCompilerExtensionVersion '1.4.6' } } dependencies { implementation 'androidx.core:core-ktx:1.10.1' implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.1' implementation 'androidx.lifecycle:lifecycle-runtime:2.6.1' implementation 'androidx.lifecycle:lifecycle-runtime-compose:2.6.1' implementation 'androidx.lifecycle:lifecycle-viewmodel-compose:2.6.1' implementation 'androidx.activity:activity-compose:1.7.2' implementation platform('androidx.compose:compose-bom:2022.10.00') implementation 'androidx.compose.ui:ui' implementation 'androidx.compose.ui:ui-graphics' implementation 'androidx.compose.ui:ui-tooling-preview' implementation 'androidx.compose.material3:material3' implementation 'com.google.android.material:material:1.9.0' implementation 'androidx.appcompat:appcompat:1.6.1' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'androidx.navigation:navigation-compose:2.6.0' implementation 'androidx.datastore:datastore-preferences:1.0.0' implementation(name:'vad-release', ext:'aar') implementation(name:'pocketfft-release', ext:'aar') implementation(name:'tensorflow-lite', ext:'aar') implementation(name:'tensorflow-lite-support-api', ext:'aar') implementation 'org.tensorflow:tensorflow-lite-metadata:0.4.3' implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.1' }