Hello Adam,

Adam Murdoch-2 wrote:
> 
> 
> ...
> There's not quite enough context in the above snippet. My guess is that 
> you haven't specified a type for the task, it should look something like:
> 
> task otherJar(type: Jar) {   // <-- don't forget the type
>      from sourceSets.main.classes
>      include 'com/mycompany/package2/**'
> }
> 
> ...
> 
> 

Hello Adam,

Sorry for giving only partial info. This is the exact task:

task deviceJar(type: Jar) {
  description = 'Prepares device/command jar'
  appendix = 'device'
  from sourceSets.main.classes
  include 'the/real/pkg/path/**'
}

So it does define type.

FYI, this is with gradle 0.8.

Thanks!
Zsolt
-- 
View this message in context: 
http://old.nabble.com/Could-not-find-method-include%28%29-tp26740547p26761665.html
Sent from the gradle-user mailing list archive at Nabble.com.


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

    http://xircles.codehaus.org/manage_email


Reply via email to