???Gradle????Java???
???????????? ???????[ 2015/5/7 13:46:41 ] ????????????????
???????Gradle????Java???
????????????????????Java????????????????Gradle????Java?????
????????????????
????????????????????д??????????Java???????????Gradle????????
??????????????
???????15??????????
????????????????????????IDE?????????????
????Java??????[JDK6](http://www.oracle.com/technetwork/java/javase/downloads/index.html”JDK”??????汾??
??????????????????????
??????????Spring???????????????????????????????????е????????????????????????????????????衣????????????????????????????????
???????????????????????
?????????????????????????????2?????
????????????????????????????????Git????????git clone https://github.com/spring-guides/gs-gradle.git
????cd ???? gs-gradle/initial
?????ο??????Gradle????
????????????????????gs-gradle/complete????????????
???????????
???????????????????????Gradle???й????????????????????Gradle?????????????Java?????
????????????
??????????????£?????????????;??*nix??????????????mkdir -p src/main/java/hello
?????????? src
?????????? main
?????????? java
?????????? hello
??????src/main/java/hello???У??????????κ?Java????????????????????????????????£???????鴴????????HelloWorld.java??Greeter.java
????src/main/java/hello/HelloWorld.java???????
????package hello;
????public class HelloWorld {
????public static void main(String[] args) {
????Greeter greeter = new Greeter();
????System.out.println(greeter.sayHello());
????}
????}
????src/main/java/hello/Greeter.java???????
????package hello;
????public class Greeter {
????public String sayHello() {
????return "Hello world!";
????}
????}
???????Gradle
?????????????????????????????????????Gradle????????????????????Gradle????????
????Gradle?????http://www.gradle.org/downloads?????????????????Gradle???????????????????????????????????gradle-version-bin.zip???????????????????gradle-version-all.zip??????????????????????????
???????????????????????????????е?bin??????????????С?
????????????????????????′?????????Gradle???????
????gradle
????????????????????OK????????????welcome?????
????:help
????Welcome to Gradle 1.8.
????To run a build?? run gradle <task> ...
????To see a list of available tasks?? run gradle tasks
????To see a list of command-line options?? run gradle --help
????BUILD SUCCESSFUL
????Total time: 2.675 secs
?????????????????Gradle??????????????????????????……???????Gradle????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11