-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
50 lines (40 loc) · 1.2 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
buildscript {
ext.versions = [
'kotlin': '1.2.30',
'supportLibrary': '27.1.0'
]
repositories {
jcenter()
google()
}
dependencies {
classpath "com.android.tools.build:gradle:3.1.0-rc01"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
}
}
repositories {
jcenter()
google()
}
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion 27
defaultConfig {
minSdkVersion 16
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
lintOptions {
checkTestSources true
ignoreWarnings true
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:${versions.kotlin}"
implementation "com.android.support:support-annotations:${versions.supportLibrary}"
implementation "com.android.support:support-compat:${versions.supportLibrary}"
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
}