From b035bf56be70ec039a493abb8e5c0235881250e6 Mon Sep 17 00:00:00 2001 From: greenrobot Team Date: Tue, 14 Nov 2017 13:35:35 +0100 Subject: [PATCH] Update Android Gradle Plugin to 3.0.0. --- EventBusPerformance/build.gradle | 8 ++++---- EventBusTest/build.gradle | 16 +++++++--------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/EventBusPerformance/build.gradle b/EventBusPerformance/build.gradle index fb2cc52..0dd5d1d 100644 --- a/EventBusPerformance/build.gradle +++ b/EventBusPerformance/build.gradle @@ -1,19 +1,19 @@ buildscript { repositories { - jcenter() + google() } dependencies { - classpath 'com.android.tools.build:gradle:2.3.3' + classpath 'com.android.tools.build:gradle:3.0.0' } } apply plugin: 'com.android.application' dependencies { - compile project(':eventbus') + implementation project(':eventbus') annotationProcessor project(':eventbus-annotation-processor') - compile 'com.squareup:otto:1.3.8' + implementation 'com.squareup:otto:1.3.8' } android { diff --git a/EventBusTest/build.gradle b/EventBusTest/build.gradle index ab6b884..5015100 100644 --- a/EventBusTest/build.gradle +++ b/EventBusTest/build.gradle @@ -1,24 +1,22 @@ buildscript { repositories { - jcenter() + google() } dependencies { - classpath 'com.android.tools.build:gradle:2.3.3' + classpath 'com.android.tools.build:gradle:3.0.0' } } apply plugin: 'com.android.application' dependencies { - androidTestCompile project(':eventbus') - androidTestCompile project(':EventBusTestJava') + androidTestImplementation project(':eventbus') + androidTestImplementation project(':EventBusTestJava') androidTestAnnotationProcessor project(':eventbus-annotation-processor') - // Trying to repro bug: -// androidTestAnnotationProcessor 'org.greenrobot:eventbus-annotation-processor:3.1.0' - compile fileTree(dir: 'libs', include: '*.jar') - androidTestCompile 'com.android.support.test:runner:1.0.1' - androidTestCompile 'com.android.support.test:rules:1.0.1' + implementation fileTree(dir: 'libs', include: '*.jar') + androidTestImplementation 'com.android.support.test:runner:1.0.1' + androidTestImplementation 'com.android.support.test:rules:1.0.1' } android {