Skip to content

Commit

Permalink
Update deps to remove all usage of Bintray. (google#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpd236 authored Aug 10, 2021
1 parent 0dc50bc commit 5af5d34
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
13 changes: 5 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
buildscript {
repositories {
gradlePluginPortal()
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'gradle.plugin.com.github.sherter.google-java-format:google-java-format-gradle-plugin:0.6'
// NOTE: 0.7 or newer will require upgrading to a newer Android gradle plugin:
// https://github.com/tbroyer/gradle-errorprone-plugin/commit/65b1026ebeae1b7ed8c28578c7f6eea512c16bea
classpath 'net.ltgt.errorprone:net.ltgt.errorprone.gradle.plugin:0.6.1'
classpath 'com.android.tools.build:gradle:4.2.2'
classpath 'gradle.plugin.com.github.sherter.google-java-format:google-java-format-gradle-plugin:0.9'
classpath 'net.ltgt.errorprone:net.ltgt.errorprone.gradle.plugin:2.0.2'
}
}

allprojects {
repositories {
jcenter()
mavenCentral()
google()
}
}
Expand Down Expand Up @@ -47,7 +44,7 @@ subprojects {
useLibrary 'org.apache.http.legacy'

compileSdkVersion 28
buildToolsVersion = '28.0.3'
buildToolsVersion = '30.0.3'

defaultConfig {
minSdkVersion 8
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip
2 changes: 1 addition & 1 deletion publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ task javadoc(type: Javadoc) {

afterEvaluate {
javadoc.classpath += files(android.libraryVariants.collect { variant ->
variant.getJavaCompile().classpath.files
variant.getJavaCompileProvider().get().classpath.files
})
}

Expand Down

0 comments on commit 5af5d34

Please sign in to comment.