Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

Commit 20e50ce

Browse files
authored
Upgrade Gradle version to 5.6.1 (#52)
This commit also adjusts build.gradle files, so that they are compatible with the new Gradle version. Protobuf plugin now requires Java 8. This is reflected in README.md I've checked the new configuration works by invoking Gradle tasks: project tasks build check clean eclipse javadoc.
1 parent 4faa29c commit 20e50ce

9 files changed

Lines changed: 12 additions & 11 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ To install test versions to Maven for easier dependency management, simply run:
2626
Java Versions
2727
-------------
2828

29-
Java 7 or above is required for using this library.
29+
Java 8 or above is required for using this library.
3030

3131
Contributing
3232
------------

endpoints-auth/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ sourceSets {
6464
}
6565

6666
task integrationTest(type: Test) {
67-
testClassesDir = sourceSets.integrationTest.output.classesDir
67+
testClassesDirs = sourceSets.integrationTest.output.classesDirs
6868
classpath = sourceSets.integrationTest.runtimeClasspath
6969
outputs.upToDateWhen { false }
7070
}

endpoints-control-api-client/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ buildscript {
1818
repositories {
1919
mavenCentral()
2020
}
21-
dependencies { classpath 'com.google.protobuf:protobuf-gradle-plugin:0.7.7' }
21+
dependencies { classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.10' }
2222
}
2323
archivesBaseName = 'endpoints-management-api-client'
2424

endpoints-control/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ buildscript {
1818
repositories {
1919
mavenCentral()
2020
}
21-
dependencies { classpath 'com.google.protobuf:protobuf-gradle-plugin:0.7.7' }
21+
dependencies { classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.10' }
2222
}
2323

2424
configureMaven(
@@ -48,7 +48,8 @@ processResources {
4848
}
4949

5050
dependencies {
51-
compileOnly "com.google.auto.value:auto-value:${autoValueVersion}"
51+
compile "com.google.auto.value:auto-value-annotations:${autoValueVersion}"
52+
annotationProcessor "com.google.auto.value:auto-value:${autoValueVersion}"
5253
compile "com.google.code.findbugs:jsr305:${jsr305Version}"
5354
compile "com.fasterxml.jackson.core:jackson-core:${jacksonVersion}"
5455
compile "com.google.flogger:flogger:${floggerVersion}"

endpoints-management-control-all/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717
plugins {
18-
id 'com.github.johnrengelman.shadow' version '1.2.3'
18+
id 'com.github.johnrengelman.shadow' version '5.1.0'
1919
}
2020

2121
configurations {

endpoints-management-control-appengine-all/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717
plugins {
18-
id 'com.github.johnrengelman.shadow' version '1.2.3'
18+
id 'com.github.johnrengelman.shadow' version '5.1.0'
1919
}
2020

2121
configurations {

endpoints-management-protos/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ buildscript {
22
repositories {
33
mavenCentral()
44
}
5-
dependencies { classpath 'com.google.protobuf:protobuf-gradle-plugin:0.7.7' }
5+
dependencies { classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.10' }
66
}
77

88
apply plugin: 'java'

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ targetCompatibility=1.7
1919

2020
version = 1.0.12
2121
appengineSdkVersion = 1.9.56
22-
autoValueVersion = 1.1
22+
autoValueVersion = 1.6.6
2323
bouncycastleVersion = 1.54
2424
commonsLang3Version = 3.4
2525
googleApiClientProtobufVersion = 1.22.0
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Mon Aug 08 15:32:03 PDT 2016
1+
#Wed Sep 04 19:51:56 MDT 2019
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.1-bin.zip

0 commit comments

Comments
 (0)