-
Notifications
You must be signed in to change notification settings - Fork 77
/
Copy pathbuild.gradle
65 lines (54 loc) · 1.74 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
buildscript {
ext.androidPluginVersion = '2.2.3'
ext.kotlinVersion = '1.0.6'
ext.supportLibraryVersion = '25.1.0'
repositories {
jcenter()
}
dependencies {
// See changelog: http://developer.android.com/tools/revisions/gradle-plugin.html.
classpath "com.android.tools.build:gradle:$androidPluginVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
repositories {
jcenter()
}
android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
dataBinding { enabled = true }
defaultConfig {
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
kapt { generateStubs = true }
dependencies {
testCompile 'junit:junit:4.12'
testCompile 'org.assertj:assertj-core:1.7.0'
testCompile 'org.mockito:mockito-core:1.10.19'
testCompile 'org.robolectric:robolectric:3.1.4'
testCompile 'com.nhaarman:mockito-kotlin:1.0.1'
androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
}
compile 'io.reactivex:rxjava:1.2.0'
compile 'net.danlew:android.joda:2.9.3.1'
compile 'com.squareup:android-times-square:1.6.5@aar'
compile "com.android.support:appcompat-v7:$supportLibraryVersion"
compile "com.android.support:design:$supportLibraryVersion"
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
kapt "com.android.databinding:compiler:$androidPluginVersion"
}