-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Kotlin and Scala gradle templates to match Java template #5311
Update Kotlin and Scala gradle templates to match Java template #5311
Conversation
7733a9c
to
c354448
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Would it be possible to add one of the Maven exec style tests we have for other things as well? |
Not in front of machine now, but I'll get a link to you within the day |
I was able to find some (hopefully good) candidates for inspiration in this PR: #4579 And also in these existing tests: https://github.com/quarkusio/quarkus/tree/master/integration-tests/kubernetes |
@aguibert let's keep this PR open until we have the tests in. |
Generally I agree that having tests in the same repo as the code is better, but in order to write tests for this PR in this repo, we'll have to create a new IT project that exercises the tools/common module and the templates in the platform-descriptor-json module as well. Note that we already have the ITs in an adjacent code.quarkus.io repo. While I could create ITs in this repo, it would just be a mock/duplicate of the more realistic ITs we already have in the other repo, and would still risk falling out of date with the "real" code/tests over in the code.quarkus.io repo. Are we sure we want tests in this repo? |
Now that I think of it, we might need the input of @maxandersen and @aloubyansky here since there are changes going on with the tooling. Can you guys please take a look? |
I was sure we fixed this earlier in 1.0 but seems we missed some ;/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks!
Fixes #5251
The quarkus platform bom has changed a bit from
quarkus-bom
toquarkus-universe-bom
, and additionally the Java templates have been updated to use properties instead of hardcoded values. The code inio.quarkus.cli.commands.file.GradleBuildFile.containsBOM()
depends on these properties being used.This PR does 2 things:
I couldn't write a good test for this issue in this repo, so I have opened a PR in the code.quarkus repo here:
quarkusio/code.quarkus.io#226
NOTE TO REVIEWER:
Please also view the corresponding code.quarkus PR with this PR