-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle
60 lines (48 loc) · 1.62 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
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply from: '../main_jcenter.settings.gradle'
android {
compileSdkVersion rootProject.ext.compileSdkVersion as Integer
buildToolsVersion rootProject.ext.buildToolsVersion as String
defaultConfig {
minSdkVersion 21
targetSdkVersion rootProject.ext.compileSdkVersion as Integer
versionCode libraryVersionCode
versionName libraryVersion
}
buildTypes {
debug {
minifyEnabled false
debuggable true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
release {
minifyEnabled false
debuggable false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation supportDependencies.lifecycleExtension
implementation supportDependencies.design
implementation kotlinDependencies.jdk
// rx
implementation rxjava2Dependencies.rxkotlin
implementation rxjava2Dependencies.rxandroid
// Phone mask
implementation 'com.redmadrobot:inputmask:3.4.4'
implementation 'com.googlecode.libphonenumber:libphonenumber:8.10.1'
// bootstrap
implementation project(':kotlin-core')
implementation project(':kotlin-ext')
}
repositories {
mavenCentral()
}