quarkus: Gradle build fails after upgrade to 1.7.2
After upgrade to 1.7.2, all maven projects work just fine, but gradle projects fail with:
Step #0 - "Build and Push Image": > Task :quarkusGenerateCode
Step #0 - "Build and Push Image": preparing quarkus application
Step #0 - "Build and Push Image": kotlin scripting plugin: root project 'my-service'.compileQuarkus-generated-sourcesKotlin - configuration not found: quarkus-generated-sourcesKotlinScriptDef, the plugin is probably applied by a mistake
Step #0 - "Build and Push Image":
Step #0 - "Build and Push Image": > Task :quarkusGenerateCodeTests FAILED
Step #0 - "Build and Push Image": preparing quarkus application
Step #0 - "Build and Push Image": kotlin scripting plugin: root project 'my-service'.compileQuarkus-test-generated-sourcesKotlin - configuration not found: quarkus-test-generated-sourcesKotlinScriptDef, the plugin is probably applied by a mistake
Step #0 - "Build and Push Image":
Step #0 - "Build and Push Image": FAILURE: Build failed with an exception.
Step #0 - "Build and Push Image":
Step #0 - "Build and Push Image": * What went wrong:
Step #0 - "Build and Push Image": Execution failed for task ':quarkusGenerateCodeTests'.
Step #0 - "Build and Push Image": > Failed to generate sources in the QuarkusPrepare task
Any thoughts about why it happened and how to fix that?
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 19 (10 by maintainers)
Commits related to this issue
- Fix Kotlin integration in the Gradle plugin Fixes #11867 — committed to gastaldi/quarkus by gastaldi 4 years ago
- Fix Kotlin integration in the Gradle plugin Fixes #11867 — committed to gastaldi/quarkus by gastaldi 4 years ago
- Fix Kotlin integration in the Gradle plugin Fixes #11867 — committed to gastaldi/quarkus by gastaldi 4 years ago
- Fix Kotlin integration in the Gradle plugin Added integration test Fixes #11867 — committed to gastaldi/quarkus by gastaldi 4 years ago
- Fix Kotlin integration in the Gradle plugin Added integration test Fixes #11867 — committed to gsmet/quarkus by gastaldi 4 years ago
- Fix Kotlin integration in the Gradle plugin Added integration test Fixes #11867 — committed to gsmet/quarkus by gastaldi 4 years ago
@gastaldi It works now, thank you!
If it’s a bug in the Gradle plugin only, we can update it directly in the Gradle Plugin portal without requiring a new Quarkus release. Give us some time and we’ll have it fixed ASAP.
Thank you !