Repository navigation
Bump kotlin to 2.4.20; as most implementations are eol... Also, as a side effect; values() will be deprecated for kotlin enums, use entries instead from 1.9 onwards #25246
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
Open
dijkstrar
wants to merge
44
commits into
OpenAPITools:master
Choose a base branch
from
dijkstrar:feature-use-kotlin-entries-for-enum
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+901
−730
Open
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
483c1be
values() will be deprecated for kotlin, use entries instead
dijkstrar 9347565
bump kotlin to 2.4.20 (trial)
dijkstrar 58dde61
bump kotlin to 2.4.20; now also in generated samples :)
dijkstrar 7e01731
leftover kotlin version bumps that were left to do :)
dijkstrar c66bef0
Update pom.xml
dijkstrar 0033c27
readme required kotlin version bump
dijkstrar a53d68b
address review comments (bump gradle and kotlinVersion)
dijkstrar ddedfee
bump kotlin version in gradle files and readme
dijkstrar 35e5abd
update moustache files, and gradle plugin test comment
dijkstrar 6581669
set jvm target for compiling kotlin spring
dijkstrar 3d70bf5
alter generated samples
dijkstrar 3d44cf0
set gradle versions in mustache files
dijkstrar c306fe6
kotlin script util should not be pinned to kotlin.version, as the scr…
dijkstrar 19c65c9
,javaslang.match.PatternsProcessor is not defined as dependency
dijkstrar 235bd33
alter mustache for new gradle version in readme
dijkstrar 3ad6f66
KotlinToJVMBytecodeCompiler now resides in scripting plugin after bum…
dijkstrar c109e79
bump gradle
dijkstrar 078b2cf
make use of the compile module from kotlin 2.4.20
dijkstrar 2505651
gradle builds need newer way for setting jvmtarget when bumping kotlin
dijkstrar 9bdeb5d
generate samples (new compile for jvm target)
dijkstrar d8d75b7
update mustache; new way for compiling and testcompile kotlin
dijkstrar 13b83ef
clarify collectors import..
dijkstrar 3e96c9a
Update modules/openapi-generator/src/test/java/org/openapitools/codeg…
dijkstrar 9bd9d2d
bump kotlin version in the toml file ;)
dijkstrar 4c87b31
proper groovy syntax to do kotlin dsl
dijkstrar 42aa15b
import jvmtarget (missing); and remove unnecessary kotlincompile import
dijkstrar 12fc0c7
Merge branch 'feature-use-kotlin-entries-for-enum' of https://github.…
dijkstrar d0d8149
alter kotlin file assert to handle new kotlin version
dijkstrar 0caf0f7
no companion method needed..
dijkstrar 1e006f5
create compilerconfig in a new way, using the factory method
dijkstrar a069113
regenerate samples; and bump gradle versions in some moustaches that …
dijkstrar e7f11e5
bump gradle in generated sample (forgot to commit)
dijkstrar 152ece4
bump gradle; forgot again to save and commit..
dijkstrar e9575c9
apply suggestions from cubic
dijkstrar bd05192
bump gradle version
dijkstrar 8fde23b
bump kotlinx-coroutines to 1.11.0
dijkstrar 5924ece
bump ktolinx serialisation to 1.12
dijkstrar 21d73e7
regenerate samples
dijkstrar 024cf7c
regenerate samples; gradle update forces to alter compile, to impleme…
dijkstrar f8ee43d
groovy now uses gradle 8.14.5 ;)
dijkstrar f67045f
groovy must not be bumped, dont know why it was bumped?
dijkstrar af285db
regenerate groovy samples, they should be gone now ;)
dijkstrar ec944cb
Merge branch 'OpenAPITools:master' into feature-use-kotlin-entries-fo…
dijkstrar 7ece89e
kotlin microprofile mutiny sample regenerated; bumps kotlin version
dijkstrar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -2,7 +2,7 @@ | |
|
|
||
| ## Requirements | ||
|
|
||
| * Gradle 5.x | ||
| * Gradle 7.6.3 | ||
| * Java 8+ | ||
|
|
||
| ## Getting Started | ||
|
|
||
This file contains hidden or 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 hidden or 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 hidden or 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
...les/openapi-generator/src/main/resources/kotlin-client/gradle-wrapper.properties.mustache
This file contains hidden or 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 hidden or 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 hidden or 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
8 changes: 4 additions & 4 deletions
8
...erator/src/main/resources/kotlin-client/libraries/multiplatform/build.gradle.kts.mustache
This file contains hidden or 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/src/main/resources/kotlin-misk/build.gradle.kts.mustache
This file contains hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -2,8 +2,8 @@ | |
|
|
||
| ## Requires | ||
|
|
||
| * Kotlin 1.4.31 | ||
| * Gradle 6.8.2 | ||
| * Kotlin 2.4.20 | ||
| * Gradle 8.14.5 | ||
|
|
||
| ## Build | ||
|
|
||
|
|
||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
...enapi-generator/src/main/resources/kotlin-server/libraries/ktor/gradle-wrapper.properties
This file contains hidden or 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-8.10.2-all.zip | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.5-all.zip | ||
| zipStoreBase=GRADLE_USER_HOME | ||
| zipStorePath=wrapper/dists |
2 changes: 1 addition & 1 deletion
2
modules/openapi-generator/src/main/resources/kotlin-server/libraries/ktor/gradle.properties
This file contains hidden or 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,4 +1,4 @@ | ||
| kotlin.code.style=official | ||
| ktor_version=3.4.0 | ||
| kotlin_version=2.3.0 | ||
| kotlin_version=2.4.20 | ||
| logback_version=1.5.19 |
This file contains hidden or 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 hidden or 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
...napi-generator/src/main/resources/kotlin-server/libraries/ktor2/gradle-wrapper.properties
This file contains hidden or 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-8.10.2-all.zip | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.5-all.zip | ||
| zipStoreBase=GRADLE_USER_HOME | ||
| zipStorePath=wrapper/dists |
2 changes: 1 addition & 1 deletion
2
modules/openapi-generator/src/main/resources/kotlin-server/libraries/ktor2/gradle.properties
This file contains hidden or 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,4 +1,4 @@ | ||
| kotlin.code.style=official | ||
| ktor_version=2.3.12 | ||
| kotlin_version=2.0.20 | ||
| kotlin_version=2.4.20 | ||
| logback_version=1.5.19 |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.