Gradle

禁用javadoc
allprojects { tasks.withType(Javadoc).all { enabled = false } }




指定jdk版本编译
gradlew -Dorg.gradle.java.home="C:\Program Files\Java\jdk1.7.0_80" install

gradlew -Dorg.gradle.java.home="C:\Program Files\Java\jdk1.7.0_80" build


你可能感兴趣的:(Gradle)