Hi Wilson,

This may well be FUD on my part, but I think there were some tweaks to the Gradle wrapper distribution website around the 0.9.x mark. Does it make a difference if you upgrade to a newer version?

Cheers,
Merlyn

On Jul 4, 2011, at 9:13 AM, Wilson MacGyver wrote:

yes it does. running gradle build, it works perfectly.

On Mon, Jul 4, 2011 at 12:12 PM, M A <[email protected]> wrote:
Hi Wilson,

Does it work when you run it using "gradle" with version 0.9.2?

Cheers,
Merlyn

On Jul 4, 2011 9:09 AM, "Wilson MacGyver" <[email protected]> wrote:
Can gradle wrapper task be used when your project uses plugin that
didn't come with gradle disto itself?

I'm using clojure plugin for gradle.

after I added

task wrapper(type: Wrapper) {
gradleVersion = '0.9.2'
}


in my build.gradle

when I run gradle wrapper

it gives

Build file error at line: 11

* What went wrong:
A problem occurred evaluating root project 'ctest'.
Cause: No signature of method:
org.gradle.api.internal.file.UnionFileTree.source() is applicable for
argument types:
(org.gradle.api.internal.file.DefaultSourceDirectorySet) values: [main
Clojure source]
Possible solutions: use([Ljava.lang.Object;)

line 11 is

apply {
plugin 'clojure'
}


the only other odd thing I can think of is, I'm pulling in the plugin by
doing

buildscript {
repositories {
mavenRepo name: 'clojars', urls: 'http://clojars.org/repo'
}
dependencies {
classpath 'clojuresque:clojuresque:1.4.1'
classpath 'clojuresque:runtime:1.4.1'
}
}


Thanks


--
Omnem crede diem tibi diluxisse supremum.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email






--
Omnem crede diem tibi diluxisse supremum.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email




---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to