-
Notifications
You must be signed in to change notification settings - Fork 34
/
build.gradle.kts
42 lines (35 loc) · 1.15 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
plugins {
id(GradlePluginId.ANDROID_LIBRARY)
}
android {
compileSdkVersion(30)
buildFeatures.viewBinding = true
defaultConfig {
minSdkVersion(16)
targetSdkVersion(30)
versionCode = 1
versionName = "1.0"
testInstrumentationRunner = AndroidConfig.TEST_INSTRUMENTATION_RUNNER
}
buildTypes {
getByName(BuildType.RELEASE) {
isMinifyEnabled = BuildTypeRelease.isMinifyEnabled
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
}
dependencies {
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))
implementation("androidx.localbroadcastmanager:localbroadcastmanager:1.0.0")
testImplementation("junit:junit:4.13")
androidTestImplementation("androidx.test.ext:junit:1.1.1")
androidTestImplementation("androidx.test.espresso:espresso-core:3.2.0")
implementation("androidx.appcompat:appcompat:1.1.0")
}