plugins { id 'com.android.library' id 'org.jetbrains.kotlin.android' } android { namespace 'me.naingaungluu.formconductor.composeui' compileSdk 33 defaultConfig { minSdk 23 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 } buildFeatures { compose true } composeOptions { kotlinCompilerExtensionVersion '1.3.0' } kotlinOptions { jvmTarget = '1.8' javaParameters = true } publishing { singleVariant("release") { // if you don't want sources/javadoc, remove these lines withSourcesJar() withJavadocJar() } } } dependencies { implementation project(path: ':core') implementation "androidx.compose.ui:ui:$compose_version" implementation "androidx.compose.runtime:runtime:$compose_version" testImplementation 'junit:junit:4.13.2' testImplementation 'org.junit.jupiter:junit-jupiter:5.9.1' testImplementation "io.mockk:mockk:1.9.3" testImplementation "org.assertj:assertj-core:3.11.1" testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1' testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1' testImplementation 'org.jetbrains.kotlin:kotlin-test' androidTestImplementation 'androidx.test.ext:junit:1.1.3' androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' } apply from: "../scripts/publish-root.gradle" publishing { publications { release(MavenPublication) { artifactId = "compose-ui" afterEvaluate { from components.release } } } }