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

REST API not respecting jvmVersion=11 #1325

Closed
moksamedia opened this issue Aug 17, 2022 · 2 comments
Closed

REST API not respecting jvmVersion=11 #1325

moksamedia opened this issue Aug 17, 2022 · 2 comments

Comments

@moksamedia
Copy link

When I use the jvmVersion flag in the REST API, the resulting Gradle file does not have the sourceCompatibility set to 11 and is set to 17 instead.

curl https://start.spring.io/starter.tgz \
  -d bootVersion=2.6.10 \
  -d jvmVersion=11 \
  -d dependencies=web,data-rest,lombok,data-jpa,h2,okta \
  -d type=gradle-project \
  -d baseDir=resource-server
@snicoll
Copy link
Contributor

snicoll commented Aug 17, 2022

As stated by the output of curl https://start.spring.io the property is javaVersion, not jvmVersion. See also #958

@snicoll snicoll closed this as not planned Won't fix, can't repro, duplicate, stale Aug 17, 2022
@moksamedia
Copy link
Author

Ah. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants