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
Build changes to support jdk11+ #10717
Closed
Closed
Changes from 11 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
0f564ce
Update jacoco to 0.8.7 to allow using jdk 16
agilob d34a233
Fix some javadoc to allow java16 upgrade
agilob 8247c41
Fix grammar in java doc and move some comments to properties
agilob ef09a2b
Merge branch 'master' of github.com:OpenAPITools/openapi-generator in…
agilob 27e75fc
Merge branch 'master' of github.com:OpenAPITools/openapi-generator in…
agilob b67c9ce
Dont fail on java doc warnings
agilob 878b86a
Bump handlebars to jdk17 compatible version
agilob 7acd9fe
Use .deleteOnExit() in tests instead .delete()
agilob 5b48385
Bump dependencies in openapi gradle plugin
agilob 8cce7a0
Migrate gradle nexus publisher
agilob 262e18e
Ignore test for now, handlebar doesnt seem to work with new templates
agilob 2655770
Merge branch 'master' of github.com:OpenAPITools/openapi-generator in…
agilob 979f99e
nexusPublishing with publishToSonatype
agilob c2ad77f
Use publish task
agilob 5d3a328
Merge branch '6.0.x' of github.com:OpenAPITools/openapi-generator int…
agilob File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
313 changes: 142 additions & 171 deletions
313
...enapi-generator-core/src/main/java/org/openapitools/codegen/config/GeneratorSettings.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
modules/openapi-generator-gradle-plugin/gradle/wrapper/gradle-wrapper.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
rootProject.name = 'openapi-generator-gradle-plugin' | ||
enableFeaturePreview('STABLE_PUBLISHING') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
May I know why these are commented out?
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.
Ah yes, good spot, basically
nexusPublishing
task no longer exists, I am not sure which one should replace it. Here is the list of available publishing tasks:Probably
publishToSonatype
, as description is most similar topubishToNexus
:(old description)
publishToNexus - Publishes all Maven publications produced by this project to Nexus.
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.
Yes, please use it as a replacement of
nexusPublishing
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.
That's so strange, when I run
gradle tasks
it findspublishToSonatype
but when I run it it crashes as task not found.publish
does the same thing, so used itThere 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.
I'll try to test it over the weekend.