Skip to content

Instantly share code, notes, and snippets.

@gstech99
gstech99 / gist:ce995053b568c4961d60
Created August 29, 2014 13:03
Gradle 2.0 helloWorld (8/29/14) laptop
task helloWorld << {
println 'hello, world!'
}
C:\DATA\Gradle>gradle helloWorld
:helloWorld
hello, world!
@gstech99
gstech99 / gist:a1f5b4dc37a5737a30db
Created August 29, 2014 12:57
Gradle 2.0 version (8/29/14) laptop
C:\DATA\Gradle>gradle -v
------------------------------------------------------------
Gradle 2.0
------------------------------------------------------------
Build time: 2014-07-01 07:45:34 UTC
Build number: none
Revision: b6ead6fa452dfdadec484059191eb641d817226c
@gstech99
gstech99 / gist:38f8ceca43f783186a2e
Created August 29, 2014 12:46
Gradle 1.0 good helloWorld (8/29/14) laptop
task helloWorld << {
println 'hello, world!'
}
C:\DATA\Gradle>gradle helloWorld --stacktrace
:helloWorld
hello, world!
BUILD SUCCESSFUL
@gstech99
gstech99 / gist:8394d2b4bd00ba422892
Created August 29, 2014 12:20
Gradle 1.0 version info (8/29/14) laptop
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
@gstech99
gstech99 / 0_reuse_code.js
Created August 28, 2014 18:21
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@gstech99
gstech99 / gist:11b144db0b21a8159b63
Last active August 29, 2015 14:05
Gradle 2.0 problem 1: gradle -q helloWorld --stacktrace (8/28/14)
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