plugins { alias(libs.plugins.android) alias(libs.plugins.kotlinAndroid) } android { compileSdk = libs.versions.app.build.compileSDKVersion.get().toInt() defaultConfig { applicationId = libs.versions.app.version.appId.get() minSdk = libs.versions.app.build.minimumSDK.get().toInt() targetSdk = libs.versions.app.build.targetSDK.get().toInt() versionName = libs.versions.app.version.versionName.get() versionCode = libs.versions.app.version.versionCode.get().toInt() vectorDrawables.useSupportLibrary = true } buildTypes { release { isMinifyEnabled = true proguardFiles( getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro" ) } } compileOptions { val currentJavaVersionFromLibs = JavaVersion.valueOf(libs.versions.app.build.javaVersion.get().toString()) sourceCompatibility = currentJavaVersionFromLibs targetCompatibility = currentJavaVersionFromLibs } tasks.withType { kotlinOptions.jvmTarget = project.libs.versions.app.build.kotlinJVMTarget.get() kotlinOptions.freeCompilerArgs = listOf( "-opt-in=kotlin.RequiresOptIn", "-Xcontext-receivers" ) } buildFeatures { buildConfig = true viewBinding = true } sourceSets { getByName("main").java.srcDirs("src/main/kotlin") } namespace = "com.simplemobiletools.commons.samples" lint { disable.add("Instantiatable") } } dependencies { implementation(projects.commons) implementation(libs.material) implementation(libs.androidx.swiperefreshlayout) }