Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

chore(deps): update google-java-format-gradle-plugin for java 11 build #866

Closed
wants to merge 2 commits into from

Conversation

rahulKQL
Copy link
Contributor

@rahulKQL rahulKQL commented Feb 4, 2020

Fixes #865

To fix the Gradle build in Open JDK-11 caused by gradle.plugin.com.github.sherter.google-java-format:google-java-format-gradle-plugin:0.6 and Jacoco.

To fix jacoco issue related to `RuntimeException: Class java/lang/UnknownError could not be instrumented`.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 4, 2020
@rahulKQL rahulKQL added the needs work This is a pull request that needs a little love. label Feb 4, 2020
Copy link
Contributor

@elharo elharo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build failures look related:

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project 'gax-java'.

Could not resolve all artifacts for configuration ':classpath'.
Could not resolve net.ltgt.gradle:gradle-apt-plugin:0.10.
Required by:
project :
> Could not resolve net.ltgt.gradle:gradle-apt-plugin:0.10.
> Could not get resource 'https://plugins.gradle.org/m2/net/ltgt/gradle/gradle-apt-plugin/0.10/gradle-apt-plugin-0.10.pom'.
> Could not GET 'https://plugins.gradle.org/m2/net/ltgt/gradle/gradle-apt-plugin/0.10/gradle-apt-plugin-0.10.pom'.
> sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: signature check failed
Could not resolve gradle.plugin.com.dorongold.plugins:task-tree:1.3.1.
Required by:
project :
> Could not resolve gradle.plugin.com.dorongold.plugins:task-tree:1.3.1.
> Could not get resource 'https://plugins.gradle.org/m2/gradle/plugin/com/dorongold/plugins/task-tree/1.3.1/task-tree-1.3.1.pom'.
> Could not GET 'https://plugins.gradle.org/m2/gradle/plugin/com/dorongold/plugins/task-tree/1.3.1/task-tree-1.3.1.pom'.
> sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: signature check failed
Could not resolve gradle.plugin.com.github.sherter.google-java-format:google-java-format-gradle-plugin:0.8.
Required by:
project :
> Could not resolve gradle.plugin.com.github.sherter.google-java-format:google-java-format-gradle-plugin:0.8.
> Could not get resource 'https://plugins.gradle.org/m2/gradle/plugin/com/github/sherter/google-java-format/google-java-format-gradle-plugin/0.8/google-java-format-gradle-plugin-0.8.pom'.
> Could not GET 'https://plugins.gradle.org/m2/gradle/plugin/com/github/sherter/google-java-format/google-java-format-gradle-plugin/0.8/google-java-format-gradle-plugin-0.8.pom'.
> sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: signature check failed

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 16s
cleanup

@suztomo
Copy link
Member

suztomo commented Feb 26, 2020

@rahulKQL #868 and #883 took care of these plugin upgrades for Java 11. Thank you for the advice earlier.

@rahulKQL
Copy link
Contributor Author

Closing this in favor of #868 and #883

@rahulKQL rahulKQL closed this Feb 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes This human has signed the Contributor License Agreement. needs work This is a pull request that needs a little love.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gradle build fails in Open-JDK-11 bcoz google-java-format plugin and jacoco
4 participants