Skip to content
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

Add Gradle support #24

Closed
mraible opened this issue Mar 24, 2022 · 4 comments · Fixed by #25
Closed

Add Gradle support #24

mraible opened this issue Mar 24, 2022 · 4 comments · Fixed by #25
Labels
$$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ $300 https://www.jhipster.tech/bug-bounties/

Comments

@mraible
Copy link
Collaborator

mraible commented Mar 24, 2022

/cc @atomfrede

@mraible mraible added $$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ $100 https://www.jhipster.tech/bug-bounties/ labels Mar 24, 2022
@atomfrede
Copy link
Member

Will have look.

atomfrede pushed a commit to atomfrede/generator-jhipster-native that referenced this issue Mar 24, 2022
atomfrede added a commit to atomfrede/generator-jhipster-native that referenced this issue Mar 24, 2022
atomfrede added a commit to atomfrede/generator-jhipster-native that referenced this issue Mar 25, 2022
atomfrede added a commit to atomfrede/generator-jhipster-native that referenced this issue Mar 25, 2022
atomfrede added a commit to atomfrede/generator-jhipster-native that referenced this issue Mar 25, 2022
atomfrede added a commit to atomfrede/generator-jhipster-native that referenced this issue Apr 2, 2022
@mraible
Copy link
Collaborator Author

mraible commented Apr 19, 2022

Increasing the bounty on this one since it's more work than expected.

@mraible mraible added $300 https://www.jhipster.tech/bug-bounties/ and removed $100 https://www.jhipster.tech/bug-bounties/ labels Apr 19, 2022
atomfrede added a commit to atomfrede/generator-jhipster-native that referenced this issue Apr 25, 2022
mshima added a commit that referenced this issue Apr 26, 2022
* Fix jhipster package at Readme

* Add build tool to workflow

* Update jdl.yml

* OAdd gradle npm script template

* Use generateAot task

* Remove springdoc from gradle

* Fix gradlew executable

* remove boot dev tools for gradle

* make it prettier

* remove boot devtools from dev profile gradle file

* Dump logs

* Fix undertow replacement.

* Remove h2 dependency from prod

* deactive h2tcp server bean for gradle

* use assemble to create an actual jar instead just doing aot generation

* use nativeCompile tasks to generate native executable

* Switch gradle to bootBuildImage task

* Fix buildArgs

* change native executable location for gradle ci

* Update generators/server/generator.mjs

Co-authored-by: Marcelo Shima <marceloshima@gmail.com>

* Update generators/server/generator.mjs

Co-authored-by: Marcelo Shima <marceloshima@gmail.com>

* make gradle native compilation work

(at least locally :D)

* make it prettier

* fix messed up rebase

* fix h2tcp server bean customization

* customize webconfigurerTest not only for maven

* correct native build command for gradle in package.json

* correct postnative package

* use gradlew os independent

* Adjusts to gradle.

* Update jdl.yml

* Cleanup

* Bad cleanup

* Drop h2TcpServer

* allow overwriting native build args for gradle via -PnativeBuildArgs

udaptes #24

* Adjust jdl matrix

* Add args to gradle

Co-authored-by: Marcelo Shima <marceloshima@gmail.com>
@atomfrede
Copy link
Member

@mraible Should I claim the whole bounty, should we split it (2/3, 1/3) or do you want to give an extra bounty to @mshima for the whole ci part?

@mshima
Copy link
Member

mshima commented Apr 27, 2022

@atomfrede take the whole

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
$$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ $300 https://www.jhipster.tech/bug-bounties/
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants