This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task helloWorld << { | |
println 'hello, world!' | |
} | |
C:\DATA\Gradle>gradle helloWorld | |
:helloWorld | |
hello, world! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\DATA\Gradle>gradle -v | |
------------------------------------------------------------ | |
Gradle 2.0 | |
------------------------------------------------------------ | |
Build time: 2014-07-01 07:45:34 UTC | |
Build number: none | |
Revision: b6ead6fa452dfdadec484059191eb641d817226c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task helloWorld << { | |
println 'hello, world!' | |
} | |
C:\DATA\Gradle>gradle helloWorld --stacktrace | |
:helloWorld | |
hello, world! | |
BUILD SUCCESSFUL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\DATA\Gradle>gradle -v | |
------------------------------------------------------------ | |
Gradle 1.0 | |
------------------------------------------------------------ | |
Gradle build time: Tuesday, June 12, 2012 12:56:21 AM UTC | |
Groovy: 1.8.6 | |
Ant: Apache Ant(TM) version 1.8.2 compiled on December 20 2010 | |
Ivy: 2.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\DATA\Gradle>gradle -q helloWorld --stacktrace | |
FAILURE: Build failed with an exception. | |
* What went wrong: | |
A problem occurred configuring root project 'Gradle'. | |
> Could not open buildscript class cache for build file 'C:\DATA\Gradle\build.gradle' (C:\Users\George\.gradle\caches\2.0\ | |
scripts\build_5jvridq7k28qgmlao7pte82rfs\ProjectScript\buildscript). | |
> java.net.SocketException: Unrecognized Windows Sockets error: 87: Socket creation failed |