通过gradle创建工程
作者:互联网
- 创建工程------mkdir myproject
- 进入工程------cd myproject
- 输入gradle初始化命令
C:\temp\myproject>gradle init
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
Select type of project to generate:
1: basic
2: application
3: library
4: Gradle plugin
Enter selection (default: basic) [1..4] 4
Select implementation language:
1: Groovy
2: Java
3: Kotlin
Enter selection (default: Java) [1..3] 1
Select build script DSL:
1: Groovy
2: Kotlin
Enter selection (default: Groovy) [1..2] 1
Project name (default: myproject):
Source package (default: myproject):
> Task :init
Get more help with your project: https://guides.gradle.org?q=Plugin%20Development
BUILD SUCCESSFUL in 5m 19s
2 actionable tasks: 2 executed
标签:Groovy,selection,..,工程,default,创建,gradle,myproject 来源: https://www.cnblogs.com/yuncloudjava/p/15294759.html