From 6c7258b05e0dd09823a3228171b597eb584fdba2 Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Wed, 14 Aug 2019 08:41:03 -0700 Subject: [PATCH] Upgrade gradle-errorprone-plugin to 0.8.1 This fixes the following warning when building grpc-android: WARNING: API 'variant.getJavaCompiler()' is obsolete and has been replaced with 'variant.getJavaCompileProvider()'. It will be removed at the end of 2019. For more information, see https://d.android.com/r/tools/task-configuration-avoidance. To determine what is calling variant.getJavaCompiler(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace. --- android/build.gradle | 2 +- build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index f590ff98e9a..8bac78a3c79 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -13,7 +13,7 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:3.3.0' - classpath "net.ltgt.gradle:gradle-errorprone-plugin:0.6" + classpath "net.ltgt.gradle:gradle-errorprone-plugin:0.8.1" classpath "digital.wup:android-maven-publish:3.6.2" } } diff --git a/build.gradle b/build.gradle index c1616a6a8b5..6c62b337e33 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ buildscript { dependencies { classpath 'com.google.gradle:osdetector-gradle-plugin:1.4.0' classpath 'ru.vyarus:gradle-animalsniffer-plugin:1.5.0' - classpath 'net.ltgt.gradle:gradle-errorprone-plugin:0.6' + classpath 'net.ltgt.gradle:gradle-errorprone-plugin:0.8.1' classpath "me.champeau.gradle:jmh-gradle-plugin:0.4.5" classpath 'me.champeau.gradle:japicmp-gradle-plugin:0.2.5' }