build.gradle 2.49 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 19 20
apply plugin: 'android-apt'
apply plugin: 'realm-android'

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

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