build.gradle 2.46 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
30
31
32
33
34
35
36
37
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
Robert Hitt's avatar
Robert Hitt committed
38
39
40
41
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
Robert Hitt's avatar
Robert Hitt committed
42
43
44
}

dependencies {
45
    compile fileTree(include: ['*.jar'], dir: 'libs')
Robert Hitt's avatar
Robert Hitt committed
46
47
48
    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
49
    compile 'com.astuetz:pagerslidingtabstrip:1.0.1'
50
    compile 'io.realm:android-adapters:2.0.0'
Robert Hitt's avatar
Robert Hitt committed
51
52
    compile 'com.google.code.gson:gson:2.6.2'
    compile 'com.squareup.retrofit2:retrofit:2.1.0'
Robert Hitt's avatar
Robert Hitt committed
53
    compile 'com.squareup.retrofit2:adapter-rxjava:2.0.2'
Robert Hitt's avatar
Robert Hitt committed
54
    compile 'com.squareup.retrofit2:converter-gson:2.1.0'
55
56
57
58
    compile 'com.android.support:appcompat-v7:25.2.0'
    compile 'com.android.support:cardview-v7:25.2.0'
    compile 'com.android.support:support-v4:25.2.0'
    compile 'com.android.support:recyclerview-v7:25.2.0'
Robert Hitt's avatar
Robert Hitt committed
59
60
61
62
63
    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
64
65
66
    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'
67
    compile 'com.github.daniel-stoneuk:material-about-library:1.3.0'
Robert Hitt's avatar
Robert Hitt committed
68
    compile 'com.takisoft.fix:preference-v7:25.1.1.0'
Robert Hitt's avatar
Robert Hitt committed
69
70
71
    compile('com.crashlytics.sdk.android:crashlytics:2.6.6@aar') {
        transitive = true;
    }
Robert Hitt's avatar
Robert Hitt committed
72
}