Skip to content

Instantly share code, notes, and snippets.

@bigdaz
Created January 28, 2012 19:54
Show Gist options
  • Save bigdaz/1695579 to your computer and use it in GitHub Desktop.
Save bigdaz/1695579 to your computer and use it in GitHub Desktop.
Gradle with java5 and java6
➜ tmp java -version
java version "1.5.0_30"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_30-b03-389-10M3527)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_30-161, mixed mode)
➜ tmp gr -i --refresh dependencies -g home sync
Starting Build
Settings evaluated using empty settings file.
Projects loaded. Root project using build file '/Users/daz/dev/gradlex/tmp/build.gradle'.
Included projects: [root project 'tmp']
Evaluating root project 'tmp' using build file '/Users/daz/dev/gradlex/tmp/build.gradle'.
Compiling build file '/Users/daz/dev/gradlex/tmp/build.gradle' using BuildScriptClasspathScriptTransformer.
Compiling build file '/Users/daz/dev/gradlex/tmp/build.gradle' using BuildScriptTransformer.
All projects evaluated.
Selected primary task 'sync'
Tasks to be executed: [task ':sync']
:sync
file or directory '/Users/daz/dev/gradlex/tmp/home/caches/artifacts-8/filestore', not found
Resource found. [HTTP GET: http://repo1.maven.org/maven2/commons-collections/commons-collections/3.2/commons-collections-3.2.pom]
Download http://repo1.maven.org/maven2/commons-collections/commons-collections/3.2/commons-collections-3.2.pom
Resource found. [HTTP GET: http://repo1.maven.org/maven2/commons-collections/commons-collections/3.2/commons-collections-3.2.jar]
downloading Http GET Resource: http://repo1.maven.org/maven2/commons-collections/commons-collections/3.2/commons-collections-3.2.jar ...
Download http://repo1.maven.org/maven2/commons-collections/commons-collections/3.2/commons-collections-3.2.jar
[SUCCESSFUL ] commons-collections#commons-collections;3.2!commons-collections.jar (1981ms)
Skipping task ':sync' as it is up-to-date.
Skipping task ':sync' as it is up-to-date
:sync UP-TO-DATE
BUILD SUCCESSFUL
Total time: 7.406 secs
➜ tmp java -version
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-10M3527)
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)
➜ tmp gr -i --refresh dependencies -g home sync
Starting Build
Settings evaluated using empty settings file.
Projects loaded. Root project using build file '/Users/daz/dev/gradlex/tmp/build.gradle'.
Included projects: [root project 'tmp']
Evaluating root project 'tmp' using build file '/Users/daz/dev/gradlex/tmp/build.gradle'.
All projects evaluated.
Selected primary task 'sync'
Tasks to be executed: [task ':sync']
:sync
Checksum SHA-1 matched cached resource: [HTTP GET: http://repo1.maven.org/maven2/commons-collections/commons-collections/3.2/commons-collections-3.2.pom.sha1]
Checksum SHA-1 matched cached resource: [HTTP GET: http://repo1.maven.org/maven2/commons-collections/commons-collections/3.2/commons-collections-3.2.jar.sha1]
downloading CachedResource: /Users/daz/dev/gradlex/tmp/home/caches/artifacts-8/filestore/commons-collections/commons-collections/3.2/jar/f951934aa5ae5a88d7e6dfaa6d32307d834a88be/commons-collections-3.2.jar for http://repo1.maven.org/maven2/commons-collections/commons-collections/3.2/commons-collections-3.2.jar ...
[SUCCESSFUL ] commons-collections#commons-collections;3.2!commons-collections.jar (229ms)
Skipping task ':sync' as it is up-to-date.
Skipping task ':sync' as it is up-to-date
:sync UP-TO-DATE
BUILD SUCCESSFUL
Total time: 4.208 secs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment