init
This commit is contained in:
52
style/build.gradle.kts
Normal file
52
style/build.gradle.kts
Normal file
@@ -0,0 +1,52 @@
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user