build.gradle 2.66 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
apply plugin: 'kotlin-android'
Robert Hitt's avatar
Robert Hitt committed
12 13 14 15
apply plugin: 'io.fabric'

repositories {
    maven { url 'https://maven.fabric.io/public' }
Robert Hitt's avatar
Robert Hitt committed
16
    mavenCentral()
Robert Hitt's avatar
Robert Hitt committed
17 18
}

Robert Hitt's avatar
Robert Hitt committed
19
apply plugin: 'realm-android'
David Haynes's avatar
hmmmmm  
David Haynes committed
20
// apply plugin: 'me.tatarka.retrolambda'
Robert Hitt's avatar
Robert Hitt committed
21 22

android {
Robert Hitt's avatar
Robert Hitt committed
23
    compileSdkVersion 26
24
    buildToolsVersion '27.0.3'
Robert Hitt's avatar
Robert Hitt committed
25 26 27
    defaultConfig {
        applicationId "srct.whatsopen"
        minSdkVersion 16
Robert Hitt's avatar
Robert Hitt committed
28
        targetSdkVersion 26
Robert Hitt's avatar
Robert Hitt committed
29 30
        versionCode 6
        versionName "1.0.5"
Robert Hitt's avatar
Robert Hitt committed
31 32 33 34 35 36
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
37 38
        }
        debug {
Robert Hitt's avatar
Robert Hitt committed
39
            ext.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.8.0'
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'
David Haynes's avatar
David Haynes committed
59
    //noinspection GradleCompatible
60 61 62 63
    compile 'com.android.support:appcompat-v7:26.1.0'
    compile 'com.android.support:cardview-v7:26.1.0'
    compile 'com.android.support:support-v4:26.1.0'
    compile 'com.android.support:recyclerview-v7:26.1.0'
Robert Hitt's avatar
Robert Hitt committed
64 65 66
    compile 'io.reactivex:rxandroid:1.2.0'
    compile 'io.reactivex:rxjava:1.1.4'
    testCompile 'junit:junit:4.12'
67 68
    compile 'com.jakewharton:butterknife:8.8.1'
    kapt 'com.jakewharton:butterknife-compiler:8.8.1'
Robert Hitt's avatar
Robert Hitt committed
69 70 71
    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'
72
    compile 'com.github.daniel-stoneuk:material-about-library:1.3.0'
Robert Hitt's avatar
Robert Hitt committed
73
    compile 'com.takisoft.fix:preference-v7:25.1.1.0'
Robert Hitt's avatar
Robert Hitt committed
74 75 76
    compile('com.crashlytics.sdk.android:crashlytics:2.6.6@aar') {
        transitive = true;
    }
Robert Hitt's avatar
Robert Hitt committed
77
    compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
Robert Hitt's avatar
Robert Hitt committed
78
}