Adam Murdoch-2 wrote:
> 
> 
> ...
> Ah. The above snippet works with Gradle's trunk, but it won't work with 
> 0.8. Sorry, I've been working with trunk too much recently and I forgot 
> that include() wasn't in 0.8.
> 
> This might work better:
> 
> task deviceJar(type: Jar) {
>      dependsOn compile
>      fileSet(dir: sourceSet.main.classesDir) {
>          include '/the/real/pkg/path/**'
>      }
> }
> ...
> 

Correcting the typo of sourceSets it works now.

Thanks, Adam!

Zsolt
-- 
View this message in context: 
http://old.nabble.com/Could-not-find-method-include%28%29-tp26740547p26770048.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