Update examples to mention Java 11

Closes gh-787
This commit is contained in:
wonwoo 2019-01-01 17:39:27 +09:00 committed by Stephane Nicoll
parent 8a4cd3d6a1
commit a515a49a68
4 changed files with 7 additions and 7 deletions

View File

@ -164,14 +164,14 @@ UI. This also drives how the meta-data for your instance are generated and tooli
support is meant to react to that.
For instance, if you want your groupId to default to `org.acme` and the
`javaVersions` to only be `1.8` and `10` you would write the following config:
`javaVersions` to only be `1.8` and `11` you would write the following config:
```yml
initializr:
groupId:
value: org.acme
javaVersions:
- id: 10
- id: 11
default: false
- id: 1.8
default: true

View File

@ -142,7 +142,7 @@ https://start.spring.io/#!language=kotlin&type=gradle-project
The following attributes are supported:
* Programming language: `language` (`java`, `groovy` or `kotlin`)
* Java version: `javaVersion` (`1.8`, `10`)
* Java version: `javaVersion` (`1.8`, `11`)
* Project type: `type` (`maven-project`, `gradle-project`)
* Packaging: `packaging` (`jar`, `war`)
* Group: `groupId`

View File

@ -1,9 +1,9 @@
To create a default demo.zip:
$ curl {{serviceUrl}}/starter.zip -o demo.zip
To create a web project using Java 10:
To create a web project using Java 11:
$ curl {{serviceUrl}}/starter.zip -d dependencies=web \\
-d javaVersion=10 -o demo.zip
-d javaVersion=11 -o demo.zip
To create a web/data-jpa gradle project unpacked:
$ curl {{serviceUrl}}/starter.tgz -d dependencies=web,data-jpa \\

View File

@ -1,9 +1,9 @@
To create a default project:
$ http {{serviceUrl}}/starter.zip -d
To create a web project using Java 10:
To create a web project using Java 11:
$ http {{serviceUrl}}/starter.zip dependencies==web \\
javaVersion==10 -d
javaVersion==11 -d
To create a web/data-jpa gradle project unpacked:
$ http {{serviceUrl}}/starter.tgz dependencies==web,data-jpa \\