build.gradle 1.05 KB
Newer Older
Ricki Hirner's avatar
Ricki Hirner committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

buildscript {
    repositories {
        jcenter()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:2.+'
    }
}

allprojects {
    repositories {
        jcenter()
        maven {
            url 'http://oss.sonatype.org/content/repositories/snapshots'
        }
    }
}

Ricki Hirner's avatar
Ricki Hirner committed
21 22
apply plugin: 'com.android.library'

Ricki Hirner's avatar
Ricki Hirner committed
23

Ricki Hirner's avatar
Ricki Hirner committed
24
android {
25
    compileSdkVersion 24
26
    buildToolsVersion '24.0.3'
Ricki Hirner's avatar
Ricki Hirner committed
27 28 29

    defaultConfig {
        minSdkVersion 9
Ricki Hirner's avatar
Ricki Hirner committed
30
        targetSdkVersion 24
Ricki Hirner's avatar
Ricki Hirner committed
31 32 33 34 35 36 37
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
Ricki Hirner's avatar
Ricki Hirner committed
38 39 40 41 42

    lintOptions {
        disable 'AllowBackup'
        disable 'InvalidPackage'
    }
Ricki Hirner's avatar
Ricki Hirner committed
43 44 45
}

dependencies {
46
    compile 'org.apache.commons:commons-lang3:3.4'
Ricki Hirner's avatar
Ricki Hirner committed
47
    compile 'com.squareup.okhttp3:okhttp:3.4.1'
48 49
    provided 'org.projectlombok:lombok:1.16.10'

Ricki Hirner's avatar
Ricki Hirner committed
50
    androidTestCompile 'com.squareup.okhttp3:mockwebserver:3.4.1'
51 52 53

    testCompile 'junit:junit:4.12'
    testCompile 'com.squareup.okhttp3:mockwebserver:3.4.1'
Ricki Hirner's avatar
Ricki Hirner committed
54
}