Skip to content

Commit

Permalink
Upgrade gradle plugin and friends
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 233390513
  • Loading branch information
ojw28 authored and andrewlewis committed Feb 18, 2019
1 parent 9059275 commit 8401097
Show file tree
Hide file tree
Showing 30 changed files with 8 additions and 34 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
classpath 'com.novoda:bintray-release:0.8.1'
classpath 'com.google.android.gms:strict-version-matcher-plugin:1.0.3'
classpath 'com.android.tools.build:gradle:3.3.1'
classpath 'com.novoda:bintray-release:0.9'
classpath 'com.google.android.gms:strict-version-matcher-plugin:1.1.0'
}
// Workaround for the following test coverage issue. Remove when fixed:
// https://code.google.com/p/android/issues/detail?id=226070
Expand Down
1 change: 0 additions & 1 deletion constants.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ project.ext {
minSdkVersion = 16
targetSdkVersion = 28
compileSdkVersion = 28
buildToolsVersion = '28.0.2'
testSupportLibraryVersion = '0.5'
supportLibraryVersion = '27.1.1'
dexmakerVersion = '1.2'
Expand Down
1 change: 0 additions & 1 deletion demos/cast/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ apply plugin: 'com.android.application'

android {
compileSdkVersion project.ext.compileSdkVersion
buildToolsVersion project.ext.buildToolsVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
1 change: 0 additions & 1 deletion demos/ima/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ apply plugin: 'com.android.application'

android {
compileSdkVersion project.ext.compileSdkVersion
buildToolsVersion project.ext.buildToolsVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
1 change: 0 additions & 1 deletion demos/main/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ apply plugin: 'com.android.application'

android {
compileSdkVersion project.ext.compileSdkVersion
buildToolsVersion project.ext.buildToolsVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
1 change: 0 additions & 1 deletion extensions/cast/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion project.ext.compileSdkVersion
buildToolsVersion project.ext.buildToolsVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
1 change: 0 additions & 1 deletion extensions/cronet/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion project.ext.compileSdkVersion
buildToolsVersion project.ext.buildToolsVersion

defaultConfig {
minSdkVersion project.ext.minSdkVersion
Expand Down
1 change: 0 additions & 1 deletion extensions/ffmpeg/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion project.ext.compileSdkVersion
buildToolsVersion project.ext.buildToolsVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
1 change: 0 additions & 1 deletion extensions/flac/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion project.ext.compileSdkVersion
buildToolsVersion project.ext.buildToolsVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
1 change: 0 additions & 1 deletion extensions/gvr/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion project.ext.compileSdkVersion
buildToolsVersion project.ext.buildToolsVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
1 change: 0 additions & 1 deletion extensions/ima/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion project.ext.compileSdkVersion
buildToolsVersion project.ext.buildToolsVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
1 change: 0 additions & 1 deletion extensions/jobdispatcher/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion project.ext.compileSdkVersion
buildToolsVersion project.ext.buildToolsVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
1 change: 0 additions & 1 deletion extensions/leanback/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion project.ext.compileSdkVersion
buildToolsVersion project.ext.buildToolsVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
1 change: 0 additions & 1 deletion extensions/mediasession/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion project.ext.compileSdkVersion
buildToolsVersion project.ext.buildToolsVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
1 change: 0 additions & 1 deletion extensions/okhttp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion project.ext.compileSdkVersion
buildToolsVersion project.ext.buildToolsVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
1 change: 0 additions & 1 deletion extensions/opus/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion project.ext.compileSdkVersion
buildToolsVersion project.ext.buildToolsVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
1 change: 0 additions & 1 deletion extensions/rtmp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion project.ext.compileSdkVersion
buildToolsVersion project.ext.buildToolsVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
1 change: 0 additions & 1 deletion extensions/vp9/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion project.ext.compileSdkVersion
buildToolsVersion project.ext.buildToolsVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Tue Sep 05 13:43:42 BST 2017
#Fri Feb 08 20:49:20 GMT 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
2 changes: 1 addition & 1 deletion javadoc_combined.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class CombinedJavadocPlugin implements Plugin<Project> {
if (name == "release") {
classpath +=
libraryModule.project.files(
variant.javaCompile.classpath.files,
variant.javaCompileProvider.get().classpath.files,
libraryModule.project.android.getBootClasspath())
}
}
Expand Down
4 changes: 2 additions & 2 deletions javadoc_library.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ android.libraryVariants.all { variant ->
task("generateJavadoc", type: Javadoc) {
description = "Generates Javadoc for the ${javadocTitle}."
title = "ExoPlayer ${javadocTitle}"
source = variant.javaCompile.source
source = variant.javaCompileProvider.get().source
options {
links "http://docs.oracle.com/javase/7/docs/api/"
linksOffline "https://developer.android.com/reference",
Expand All @@ -33,7 +33,7 @@ android.libraryVariants.all { variant ->
doFirst {
classpath =
files(
variant.javaCompile.classpath.files,
variant.javaCompileProvider.get().classpath.files,
project.android.getBootClasspath())
}
doLast {
Expand Down
1 change: 0 additions & 1 deletion library/all/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion project.ext.compileSdkVersion
buildToolsVersion project.ext.buildToolsVersion

defaultConfig {
minSdkVersion project.ext.minSdkVersion
Expand Down
1 change: 0 additions & 1 deletion library/core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ apply from: '../../constants.gradle'

android {
compileSdkVersion project.ext.compileSdkVersion
buildToolsVersion project.ext.buildToolsVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
1 change: 0 additions & 1 deletion library/dash/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion project.ext.compileSdkVersion
buildToolsVersion project.ext.buildToolsVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
1 change: 0 additions & 1 deletion library/hls/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion project.ext.compileSdkVersion
buildToolsVersion project.ext.buildToolsVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
1 change: 0 additions & 1 deletion library/smoothstreaming/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion project.ext.compileSdkVersion
buildToolsVersion project.ext.buildToolsVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
1 change: 0 additions & 1 deletion library/ui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion project.ext.compileSdkVersion
buildToolsVersion project.ext.buildToolsVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
1 change: 0 additions & 1 deletion playbacktests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion project.ext.compileSdkVersion
buildToolsVersion project.ext.buildToolsVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
1 change: 0 additions & 1 deletion testutils/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion project.ext.compileSdkVersion
buildToolsVersion project.ext.buildToolsVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
1 change: 0 additions & 1 deletion testutils_robolectric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion project.ext.compileSdkVersion
buildToolsVersion project.ext.buildToolsVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down

0 comments on commit 8401097

Please sign in to comment.