KazuCocoa/DroidTestHelper

update gradle

Closed this issue · 1 comments

  • update gradle
apply plugin: 'com.android.application'
apply plugin: 'android-apt'
apply plugin: 'com.github.ben-manes.versions'

android {
    compileSdkVersion 25
    buildToolsVersion "25.0.1"

    defaultConfig {
        applicationId "com.kazucocoa.droidtesthelper"
        minSdkVersion 15
        targetSdkVersion 25
        versionCode 1
        versionName "1.0"

        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])

    compile 'com.android.support:appcompat-v7:25.0.1'
    compile 'com.android.support.constraint:constraint-layout:1.0.0-beta4'

    compile 'com.github.hotchemi:permissionsdispatcher:2.2.1'
    apt 'com.github.hotchemi:permissionsdispatcher-processor:2.2.1'

    testCompile 'junit:junit:4.12'

    androidTestCompile "com.android.support.test:runner:0.5"
    androidTestCompile "com.android.support.test:rules:0.5"

    configurations {
        // To avoid conflict
        androidTestCompile.exclude group: 'com.android.support', module: 'support-annotations'
    }
}