Build fails after upgrade to Gradle 6.4
See original GitHub issueEnvironment:
- Jib version: 2.2.0
- Build tool: Gradle 6.4 (Works with Gradle 6.3)
- Java version: 11
- OS: MacOS
Description of the issue: jibDockerBuild fails with:
class org.gradle.api.internal.provider.DefaultProperty cannot be cast to class java.lang.String (org.gradle.api.internal.provider.DefaultProperty is in unnamed module of loader org.gradle.internal.classloader.VisitableURLClassLoader @22927a81; java.lang.String is in module java.base of loader 'bootstrap')
Steps to reproduce:
- Configure any value for
jib.from.image
- Execute jibDockerBuild
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Upgrading your build from Gradle 6.x to the latest
While the following error initially looks like a compile error, it is actually due to the fact that specific `Configuration`s have been removed....
Read more >Gradle build failing after update to 3.0 - Stack Overflow
Upgrade your gradle build tools to the latest version. One easy way to do this is to add the latest version of the...
Read more >How to update Gradle - Tom Gregory
You can go to the Gradle releases page to find the latest version. If you're using Java just remember that what Java version...
Read more >Bug: IDE suggest to update gradle version for a new project ...
And after: classpath "com.android.tools.build:gradle:4.1.0-alpha09" ... To resolve the problem you can change/upgrade the target version of Gradle you ...
Read more >How to Efficiently Upgrade to Latest Version of Gradle - Medium
fix the build problems for the current version · push the changes to GitHub · identity the new latest version which passes ·...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same problem, Mac, Gradle 6.4 It happens only if there is an application plugin added:
Thanks for the update @xRomZak
I will close for now then.