build.gradle 1.32 KB
Newer Older
Ricki Hirner's avatar
Ricki Hirner committed
1 2 3 4 5 6 7

buildscript {
    repositories {
        jcenter()
    }

    dependencies {
Ricki Hirner's avatar
Ricki Hirner committed
8
        classpath 'com.android.tools.build:gradle:2.3.0'
Ricki Hirner's avatar
Ricki Hirner committed
9 10 11 12 13 14 15 16 17 18 19 20
    }
}

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 {
Ricki Hirner's avatar
Ricki Hirner committed
25 26
    compileSdkVersion 25
    buildToolsVersion '25.0.2'
Ricki Hirner's avatar
Ricki Hirner committed
27 28 29

    defaultConfig {
        minSdkVersion 9
Ricki Hirner's avatar
Ricki Hirner committed
30
        targetSdkVersion 25
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 46

    defaultConfig {
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
Ricki Hirner's avatar
Ricki Hirner committed
47 48
}

Ricki Hirner's avatar
Ricki Hirner committed
49

Ricki Hirner's avatar
Ricki Hirner committed
50
dependencies {
51
    compile 'com.android.support:support-annotations:25.+'
Ricki Hirner's avatar
Ricki Hirner committed
52
    compile 'org.apache.commons:commons-lang3:3.5'
Ricki Hirner's avatar
Ricki Hirner committed
53
    compile 'com.squareup.okhttp3:okhttp:3.8.0'
Ricki Hirner's avatar
Ricki Hirner committed
54
    provided 'org.projectlombok:lombok:1.16.16'
55

Ricki Hirner's avatar
Ricki Hirner committed
56
    androidTestCompile 'com.squareup.okhttp3:mockwebserver:3.8.0'
57

Ricki Hirner's avatar
Ricki Hirner committed
58
    androidTestCompile 'junit:junit:4.12'
59
    androidTestCompile 'com.android.support.test:runner:+'
Ricki Hirner's avatar
Ricki Hirner committed
60

Ricki Hirner's avatar
Ricki Hirner committed
61
    testCompile 'junit:junit:4.12'
Ricki Hirner's avatar
Ricki Hirner committed
62
    testCompile 'com.squareup.okhttp3:mockwebserver:3.8.0'
Ricki Hirner's avatar
Ricki Hirner committed
63
}