-
-
Notifications
You must be signed in to change notification settings - Fork 661
/
build.gradle
36 lines (30 loc) · 1007 Bytes
/
build.gradle
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
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
android {
compileSdk compileSdkVer
defaultConfig {
applicationId "github.nisrulz.sample.databinding"
minSdk minSdkVer
targetSdk targetSdkVer
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
// Required
buildFeatures.dataBinding = true
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
// Testing-only dependencies
testImplementation "junit:junit:$junitVer"
androidTestImplementation "androidx.test:runner:$androidTestRunnerVer"
androidTestImplementation "androidx.test.espresso:espresso-core:$espressoCoreVer"
implementation "androidx.appcompat:appcompat:$appCompat"
implementation "com.google.android.material:material:$material"
}