plugins { id 'com.android.library' id 'org.jetbrains.kotlin.android' } android { namespace 'com.google.android.wallpaper.weathereffects.graphics' compileSdk 34 defaultConfig { minSdk 34 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles "consumer-rules.pro" } sourceSets { main { java.srcDirs = ["../graphics/src/main/java"] assets.srcDirs = ["../graphics/assets"] } androidTest { java.srcDirs = ["../graphics/tests/src/main/java"] res.srcDirs = ["../graphics/tests/res"] } } buildTypes { debug { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' testCoverageEnabled true } release { minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' testCoverageEnabled true } } compileOptions { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 } kotlinOptions { jvmTarget = '17' } testOptions { unitTests { includeAndroidResources = true } } } dependencies { implementation 'androidx.core:core-ktx:1.12.0' implementation 'androidx.appcompat:appcompat:1.6.1' implementation 'com.google.android.material:material:1.11.0' androidTestImplementation "junit:junit:4.13.2" androidTestImplementation "androidx.test:core:1.5.0" androidTestImplementation "androidx.test:rules:1.5.0" androidTestImplementation "androidx.test:runner:1.5.2" androidTestImplementation 'androidx.test.ext:junit-ktx:1.1.5' androidTestImplementation "com.google.truth:truth:1.1.3" androidTestImplementation "org.mockito:mockito-core:5.10.0" androidTestImplementation "com.linkedin.dexmaker:dexmaker-mockito-inline:2.28.3" androidTestImplementation "com.linkedin.dexmaker:dexmaker-mockito-inline-extended:2.28.3" androidTestImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.4" androidTestImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.4" }