gradle init task 初始化一个gradle 项目
使用
生成一个java项目
gradle init --type java-application
cli help
gradle help --task init
:help
Detailed task information for init
Path
:init
Type
InitBuild (org.gradle.buildinit.tasks.InitBuild)
Options
--type Set type of build to create.
Available values are:
basic
groovy-library
java-application
java-library
pom
scala-library
--test-framework Set alternative test framework to be used.
Available values are:
spock
testng
Description
Initializes a new Gradle build. [incubating]
Group
Build Setup
BUILD SUCCESSFUL
Total time: 1.055 secs
网友评论