plugins { id 'com.android.library' id 'org.jetbrains.kotlin.android' } group = 'com.github.mayuce' android { namespace "com.github.mayuce" compileSdk = 34 defaultConfig { minSdk = 21 targetSdk = 34 testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner' } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_21 targetCompatibility JavaVersion.VERSION_21 } kotlinOptions { jvmTarget = JavaVersion.VERSION_21.toString() } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'androidx.appcompat:appcompat:1.6.1' implementation 'org.opencv:opencv:4.12.0' implementation "androidx.core:core-ktx:1.12.0" implementation "org.jetbrains.kotlin:kotlin-stdlib" implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.9.0' implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.6.2" }