mirror of
https://gitee.com/dcren/initializr.git
synced 2025-04-05 17:38:06 +08:00
Update examples to mention Java 11
Closes gh-787
This commit is contained in:
parent
8a4cd3d6a1
commit
a515a49a68
@ -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
|
||||
|
@ -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`
|
||||
|
@ -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 \\
|
||||
|
@ -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 \\
|
||||
|
Loading…
Reference in New Issue
Block a user