-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
55 lines (47 loc) · 1.31 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
buildscript {
ext.androidPluginVersion = "3.2.1"
ext.kotlinVersion = "1.2.71"
repositories {
google()
jcenter()
mavenCentral()
}
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"
classpath "com.github.dcendents:android-maven-gradle-plugin:2.1"
}
}
apply plugin: "com.android.library"
apply plugin: "kotlin-android"
apply plugin: 'kotlin-kapt'
apply plugin: "com.github.dcendents.android-maven"
repositories {
google()
jcenter()
}
android {
compileSdkVersion 28
defaultConfig {
minSdkVersion 16
targetSdkVersion 28
versionCode 1
versionName "1.0"
dataBinding { enabled = true }
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
compileOptions {
kotlinOptions {
// To avoid an issue like the one fixed by
// https://github.com/JakeWharton/RxBinding/pull/354.
freeCompilerArgs = ["-module-name", "RxProperty"]
}
}
}
dependencies {
testImplementation "junit:junit:4.12"
implementation "io.reactivex:rxjava:1.3.5"
implementation "androidx.core:core:1.0.0"
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
}