forked from sockeqwe/mosby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
48 lines (37 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
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: '../findbugs.gradle'
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
compileOptions {
sourceCompatibility rootProject.ext.javaSourceCompatibility
targetCompatibility rootProject.ext.javaTargetCompatibility
}
defaultConfig {
applicationId "com.hannesdorfmann.mosby.sample.kotlin"
minSdkVersion rootProject.ext.minSdk
targetSdkVersion rootProject.ext.targetSdk
versionName project.VERSION_NAME
versionCode Integer.parseInt(project.VERSION_CODE)
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
}
dependencies {
compile project(':viewstate')
compile 'com.android.support:design:' + rootProject.ext.appcompat7Version
compile 'com.android.support:recyclerview-v7:' + rootProject.ext.recyclerviewVersion
compile 'com.android.support:appcompat-v7:' + rootProject.ext.appcompat7Version
compile 'com.squareup.picasso:picasso:' + rootProject.ext.picassoVersion
compile 'com.squareup.leakcanary:leakcanary-android:' + rootProject.ext.leakcanaryVersion
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
provided 'com.google.code.findbugs:annotations:3.0.0'
}