plugins { id 'com.android.library' id 'kotlin-android' } ext { PUBLISH_GROUP_ID = 'com.simonsickle' PUBLISH_VERSION = '1.1.1' PUBLISH_ARTIFACT_ID = 'composed-barcodes' } apply from: "${rootProject.projectDir}/scripts/publish-module.gradle" android { compileSdkVersion 33 defaultConfig { minSdkVersion 21 targetSdkVersion 33 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles "consumer-rules.pro" } buildTypes { debug { testCoverageEnabled true } release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 } kotlinOptions { jvmTarget = JavaVersion.VERSION_11.toString() } buildFeatures { compose true } composeOptions { kotlinCompilerExtensionVersion = "1.4.3" } packagingOptions { jniLibs { pickFirsts += ['**'] } resources { pickFirsts += ['**'] } } testOptions { animationsDisabled true } namespace "com.simonsickle.compose" } dependencies { implementation("com.google.zxing:core:3.4.1") implementation("androidx.compose.runtime:runtime:1.3.3") implementation("androidx.compose.ui:ui:1.3.3") implementation("androidx.compose.foundation:foundation:1.3.1") implementation("androidx.compose.foundation:foundation-layout:1.3.1") implementation("androidx.compose.material:material:1.3.1") implementation 'androidx.compose.ui:ui-tooling-preview:1.3.3' debugImplementation 'androidx.compose.ui:ui-tooling:1.3.3' }