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

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

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

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

dependencies {
50 51
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', {
Robert Hitt's avatar
Robert Hitt committed
52 53
        exclude group: 'com.android.support', module: 'support-annotations'
    })
54 55 56 57
    implementation 'com.astuetz:pagerslidingtabstrip:1.0.1'
    implementation 'io.realm:android-adapters:2.0.0'
    implementation 'com.google.code.gson:gson:2.8.5'
    implementation 'com.squareup.retrofit2:retrofit:2.6.1'
58
    implementation 'com.squareup.retrofit2:adapter-rxjava2:2.6.1'
59
    implementation 'com.squareup.retrofit2:converter-gson:2.6.1'
David Haynes's avatar
David Haynes committed
60
    //noinspection GradleCompatible
61 62 63 64
    implementation 'androidx.appcompat:appcompat:1.1.0'
    implementation 'androidx.cardview:cardview:1.0.0'
    implementation 'androidx.legacy:legacy-support-v4:1.0.0'
    implementation 'androidx.recyclerview:recyclerview:1.0.0'
65 66
    implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
    implementation 'io.reactivex.rxjava2:rxjava:2.2.12'
67 68 69 70 71 72 73 74 75 76
    testImplementation 'junit:junit:4.12'
    implementation 'com.jakewharton:butterknife:10.2.0'
    kapt 'com.jakewharton:butterknife-compiler:10.2.0'
    debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.5'
    releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.3'
    testImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.3'
    implementation 'com.github.daniel-stoneuk:material-about-library:1.3.0'
    implementation 'com.takisoft.fix:preference-v7:25.1.1.0'
    implementation('com.crashlytics.sdk.android:crashlytics:2.6.6@aar') {
        transitive = true
Robert Hitt's avatar
Robert Hitt committed
77
    }
78
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
Robert Hitt's avatar
Robert Hitt committed
79
}