标签:ati app path环境变量 配置 pos 开发 pom sof gradle
1.解压压缩包
2.配置环境变量(gradle -h)
GRADLE_HOME -> E:\gradle\gradle-2.14 -> 修改 Path环境变量,添加 %GRADLE_HOME%\lib;
GRADLE_USER_HOME -> E:\gradle\gradleLocalRepository
3.maven转gradle
gradle init --type pom
4.gradle转maven
apply plugin: ‘java‘
apply plugin: ‘maven‘
group = ‘com.101tec‘
version = ‘0.7-dev‘
sourceCompatibility = 1.6
task writeNewPom << {
pom {
project {
inceptionYear ‘2008‘
licenses {
license {
name ‘The Apache Software License, Version 2.0‘
url ‘http://www.apache.org/licenses/LICENSE-2.0.txt‘
distribution ‘repo‘
}
}
}
}.writeTo("pom.xml")
}
标签:ati app path环境变量 配置 pos 开发 pom sof gradle
原文地址:http://www.cnblogs.com/begin-zero/p/6756675.html