53 lines
1.1 KiB
Plaintext
53 lines
1.1 KiB
Plaintext
plugins {
|
|
id("com.android.library")
|
|
id("kotlin-android")
|
|
}
|
|
|
|
|
|
android {
|
|
compileSdk = Config.SdkVersion.COMPILE
|
|
namespace = "com.testapp.test"
|
|
|
|
defaultConfig {
|
|
minSdk = Config.SdkVersion.MIN
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
vectorDrawables {
|
|
useSupportLibrary = true
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
isCoreLibraryDesugaringEnabled = true
|
|
sourceCompatibility = JavaVersion.VERSION_21
|
|
targetCompatibility = JavaVersion.VERSION_21
|
|
}
|
|
|
|
buildFeatures {
|
|
viewBinding = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(fileTree("dir" to "libs", "include" to listOf("*.jar", "*.aar")))
|
|
|
|
|
|
// UI
|
|
api(libs.core.ktx)
|
|
api(libs.appcompat)
|
|
api(libs.activity.ktx)
|
|
api(libs.fragment.ktx)
|
|
api(libs.constraintlayout)
|
|
api(libs.recyclerview)
|
|
api(libs.swiperefreshlayout)
|
|
api(libs.cardview)
|
|
api(libs.viewpager2)
|
|
api(libs.async.layoutinflater)
|
|
api(libs.material)
|
|
api(libs.facebook.shimmer)
|
|
|
|
debugApi(libs.leakcanary)
|
|
|
|
coreLibraryDesugaring(libs.desugar.jdk.libs)
|
|
}
|