-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
55 lines (49 loc) · 1.41 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.kotlin_version = '1.1.1'
repositories {
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.android.tools.build:gradle:2.2.3"
}
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
defaultConfig {
applicationId "org.kotlin.sample"
minSdkVersion 19
targetSdkVersion 25
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
}
repositories {
jcenter()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile "com.android.support:appcompat-v7:25.3.1"
compile "org.jetbrains.kotlinx:kotlinx-coroutines-core:0.14"
compile "org.jetbrains.kotlinx:kotlinx-coroutines-rx2:0.14"
compile "io.reactivex.rxjava2:rxjava:2.0.8"
compile "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.14"
compile "com.chibatching.kotpref:kotpref:2.1.1"
compile "org.jetbrains.anko:anko-sdk19:0.9.1"
compile "org.jetbrains.anko:anko-appcompat-v7:0.9.1"
}
task wrapper(type: Wrapper) {
gradleVersion = "3.4.1"
}