build.gradle 2.62 KB
Newer Older
Robert Hitt's avatar
Robert Hitt committed
1
2
3
4
5
6
7
8
9
buildscript {
    repositories {
        maven { url 'https://maven.fabric.io/public' }
    }

    dependencies {
        classpath 'io.fabric.tools:gradle:1.+'
    }
}
Robert Hitt's avatar
Robert Hitt committed
10
apply plugin: 'com.android.application'
Robert Hitt's avatar
Robert Hitt committed
11
12
13
14
15
16
apply plugin: 'io.fabric'

repositories {
    maven { url 'https://maven.fabric.io/public' }
}

Robert Hitt's avatar
Robert Hitt committed
17
18
apply plugin: 'android-apt'
apply plugin: 'realm-android'
Robert Hitt's avatar
Robert Hitt committed
19
apply plugin: 'me.tatarka.retrolambda'
Robert Hitt's avatar
Robert Hitt committed
20
21

android {
22
    compileSdkVersion 25
23
    buildToolsVersion '25.0.2'
Robert Hitt's avatar
Robert Hitt committed
24
25
26
    defaultConfig {
        applicationId "srct.whatsopen"
        minSdkVersion 16
27
        targetSdkVersion 25
Robert Hitt's avatar
Robert Hitt committed
28
29
        versionCode 2
        versionName "1.0.1"
Robert Hitt's avatar
Robert Hitt committed
30
31
32
33
34
35
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
36
37
38
39
            buildConfigField 'Boolean', 'enableCrashlytics', 'true'
        }
        debug {
            buildConfigField 'Boolean', 'enableCrashlytics', 'false'
Robert Hitt's avatar
Robert Hitt committed
40
41
        }
    }
Robert Hitt's avatar
Robert Hitt committed
42
43
44
45
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
Robert Hitt's avatar
Robert Hitt committed
46
47
48
}

dependencies {
49
    compile fileTree(include: ['*.jar'], dir: 'libs')
Robert Hitt's avatar
Robert Hitt committed
50
51
52
    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
        exclude group: 'com.android.support', module: 'support-annotations'
    })
Robert Hitt's avatar
Robert Hitt committed
53
    compile 'com.astuetz:pagerslidingtabstrip:1.0.1'
54
    compile 'io.realm:android-adapters:2.0.0'
Robert Hitt's avatar
Robert Hitt committed
55
    compile 'com.google.code.gson:gson:2.7'
Robert Hitt's avatar
Robert Hitt committed
56
    compile 'com.squareup.retrofit2:retrofit:2.1.0'
Robert Hitt's avatar
Robert Hitt committed
57
    compile 'com.squareup.retrofit2:adapter-rxjava:2.0.2'
Robert Hitt's avatar
Robert Hitt committed
58
    compile 'com.squareup.retrofit2:converter-gson:2.1.0'
Robert Hitt's avatar
Robert Hitt committed
59
60
61
62
    compile 'com.android.support:appcompat-v7:25.3.1'
    compile 'com.android.support:cardview-v7:25.3.1'
    compile 'com.android.support:support-v4:25.3.1'
    compile 'com.android.support:recyclerview-v7:25.3.1'
Robert Hitt's avatar
Robert Hitt committed
63
64
65
66
67
    compile 'io.reactivex:rxandroid:1.2.0'
    compile 'io.reactivex:rxjava:1.1.4'
    testCompile 'junit:junit:4.12'
    compile 'com.jakewharton:butterknife:8.4.0'
    apt 'com.jakewharton:butterknife-compiler:8.4.0'
Robert Hitt's avatar
Robert Hitt committed
68
69
70
    debugCompile 'com.squareup.leakcanary:leakcanary-android:1.5'
    releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5'
    testCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5'
71
    compile 'com.github.daniel-stoneuk:material-about-library:1.3.0'
Robert Hitt's avatar
Robert Hitt committed
72
    compile 'com.takisoft.fix:preference-v7:25.1.1.0'
Robert Hitt's avatar
Robert Hitt committed
73
74
75
    compile('com.crashlytics.sdk.android:crashlytics:2.6.6@aar') {
        transitive = true;
    }
Robert Hitt's avatar
Robert Hitt committed
76
}