build.gradle 2.53 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 {
Robert Hitt's avatar
Robert Hitt committed
22 23
    compileSdkVersion 26
    buildToolsVersion '26.0.1'
Robert Hitt's avatar
Robert Hitt committed
24 25 26
    defaultConfig {
        applicationId "srct.whatsopen"
        minSdkVersion 16
Robert Hitt's avatar
Robert Hitt committed
27
        targetSdkVersion 26
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
        }
        debug {
Robert Hitt's avatar
Robert Hitt committed
38
            ext.enableCrashlytics = false
Robert Hitt's avatar
Robert Hitt committed
39 40
        }
    }
Robert Hitt's avatar
Robert Hitt committed
41 42 43 44
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
Robert Hitt's avatar
Robert Hitt committed
45 46 47
}

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