gradle build fails (since 'maven_plugin_repositories' was introduced?)
See original GitHub issueDescribe the bug I use the following to create a project:
mvn io.quarkus:quarkus-maven-plugin:1.5.0.Final:create \
-DprojectGroupId=${context.projectId} \
-DprojectArtifactId=${context.componentId} \
-DclassName='${context.projectId}.getting.started.GreetingResource' \
-Dpath='/hello' \
-DbuildTool=gradle
and
./gradlew clean build --no-daemon --stacktrace"
to build the app, which worked perfectly the last time I played around with quarks a few weeks ago. Today I tried it again and got:
FAILURE: Build failed with an exception.
* Where:
Settings file '/tmp/workspace/quarkus-app/settings.gradle' line: 3
* What went wrong:
A problem occurred evaluating settings quarkus'.
> Could not find method $() for arguments [settings_86nsapcu3kqiojih20han519x$_run_closure1$_closure2$_closure4@3fc1abf] on object of type org.gradle.api.internal.artifacts.repositories.DefaultMavenLocalArtifactRepository.
where line 3 in settings.gradle is:
mavenLocal()${maven_plugin_repositories}
I saw that meanwhile this param was added: https://github.com/quarkusio/quarkus/pull/10113/files#diff-2b33dc6b74423f0c8e1a0f99d8575b8eR3
I can’t think of anything I did different the last time so I’m submitting this as a bug. Any ideas?
Environment:
- gradle 6.5 but also tried 6.5.1
- quarkus 1.5.0-Final but also tried 1.5.2-Final
- mvn 3.6.3
- graalvm 20.1.0 but also tried openjdk 11
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (8 by maintainers)
Top Results From Across the Web
Troubleshooting builds - Gradle User Manual
If your Gradle build fails before running any tasks, you may be encountering problems with your network configuration. When Gradle is unable to...
Read more >Why is Gradle Build Failing Even after including the ...
As per the guide I added following to manage the dependency in the project. repositories { mavenCentral() } dependencies { compile "joda-time: ...
Read more >Getting Started with Gradle | IntelliJ IDEA Documentation
In this tutorial, we'll create a Gradle project, will run and test it, and run the executable JAR file using Gradle. The project...
Read more >Reduce build failures and increase build reliability
Gradle Enterprise allows teams to find and fix these problems quickly. You can complete this tutorial in: 1 minute (read the Introduction). 5-10...
Read more >[HAS WORKAROUND] Android build fails since 0.71.0-rc.0 tag ...
Builds started failing couple hours ago. ... A failure occurred while executing com.android.build.gradle.internal.tasks.
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 Free
Top 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
ok it works if you use
io.quarkus:quarkus-maven-plugin:1.6.0.Final:create
It’s not the first time it happens though.