mirror of
https://github.com/HighCapable/SweetDependency.git
synced 2025-09-04 01:35:46 +08:00
40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
plugins {
|
|
autowire(libs.plugins.com.android.library)
|
|
autowire(libs.plugins.org.jetbrains.kotlin.android)
|
|
}
|
|
|
|
android {
|
|
namespace = "com.highcapable.sweetdependency.demo_library"
|
|
compileSdk = 33
|
|
|
|
defaultConfig {
|
|
minSdk = 24
|
|
targetSdk = 33
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles("consumer-rules.pro")
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = false
|
|
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "17"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(androidx.core.core.ktx)
|
|
implementation(androidx.appcompat.appcompat)
|
|
implementation(com.google.android.material.material)
|
|
implementation(androidx.constraintlayout.constraintlayout)
|
|
testImplementation(junit.junit)
|
|
androidTestImplementation(androidx.test.ext.junit)
|
|
androidTestImplementation(androidx.test.espresso.espresso.core)
|
|
} |