Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apply plugin: 'com.android.application'
- android {
- compileSdkVersion 26
- buildToolsVersion "26.0.2"
- defaultConfig {
- applicationId "br.ufpe.cin.if710.podcast"
- minSdkVersion 19
- targetSdkVersion 26
- 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(include: ['*.jar'], dir: 'libs')
- androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
- exclude group: 'com.android.support', module: 'support-annotations'
- })
- debugCompile 'com.squareup.leakcanary:leakcanary-android:1.5.4'
- releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.4'
- compile 'com.android.support.constraint:constraint-layout:1.0.2'
- compile 'com.android.support:appcompat-v7:26.+'
- testCompile 'junit:junit:4.12'
- testCompile 'org.mockito:mockito-core:1.10.19'
- compile 'com.android.support:appcompat-v7:26.+'
- implementation "android.arch.persistence.room:runtime:$rootProject.roomVersion"
- implementation "android.arch.lifecycle:extensions:1.0.0"
- testImplementation "android.arch.core:core-testing:1.0.0"
- annotationProcessor "android.arch.persistence.room:compiler:$rootProject.roomVersion"
- androidTestImplementation "android.arch.persistence.room:testing:$rootProject.roomVersion"
- androidTestCompile 'com.android.support:support-annotations:26.+'
- androidTestCompile 'com.android.support:recyclerview-v7:26.+'
- androidTestCompile 'com.android.support.test.espresso:espresso-contrib:2.2.2'
- androidTestCompile 'com.android.support.test.espresso:espresso-intents:2.2.2'
- androidTestCompile 'com.android.support.test:rules:0.5'
- }
- configurations.all { config ->
- if (config.name.contains('UnitTest') || config.name.contains('AndroidTest')) {
- config.resolutionStrategy.eachDependency { details ->
- if (details.requested.group == 'com.squareup.leakcanary' && details.requested.name == 'leakcanary-android') {
- details.useTarget(group: details.requested.group, name: 'leakcanary-android-no-op', version: details.requested.version)
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement