-
Notifications
You must be signed in to change notification settings - Fork 0
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
Support Micronaut4 #5
Conversation
etremblay
commented
Dec 14, 2023
- Detect Micronaut version >= and adjust build.gradle accordingly
- Bump to java 17
- apply local build and settings files
...enerator/src/main/resources/java-micronaut/common/configuration/gradle/build.gradle.mustache
Outdated
Show resolved
Hide resolved
...generator/src/main/java/org/openapitools/codegen/languages/JavaMicronautAbstractCodegen.java
Outdated
Show resolved
Hide resolved
...enerator/src/main/resources/java-micronaut/common/configuration/gradle/build.gradle.mustache
Outdated
Show resolved
Hide resolved
...enerator/src/main/resources/java-micronaut/common/configuration/gradle/build.gradle.mustache
Outdated
Show resolved
Hide resolved
{{/client}} | ||
{{^client}} | ||
id("io.micronaut.application") version "{{micronautPluginVersion}}" | ||
{{/client}} | ||
} | ||
|
||
version = "{{artifactVersion}}" | ||
group = "{{invokerPackage}}" |
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.
Je viens de remarquer, ça change le group de l'artifact ici. Il y a .invoker
d'ajouté, on devrait garder l'ancien je pense?
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.
Ouain, ce générateur utilise pas le invokerPackage comme l'ancien et le kotlin.
invokerPackage
est utiliser à la place de apiPackage
un peu partout.
Pour workaround, dans standards-jvm j'ai enlevé le .invoker
...enerator/src/main/resources/java-micronaut/common/configuration/gradle/build.gradle.mustache
Outdated
Show resolved
Hide resolved
* Rust Server - Axum based (#5) * Fix typo * Address comment * Address comment