Hello Rene,

Yes, I've looked at this thread before asking question. But as it was
asked a year ago I thought that now there is more easier/proper way to
exclude some classes (the same as it is done in maven), than to do
some "trickery".
If there is no other standard way to do this, only because of this
issue I would stay with my standard Maven pom.xml stuff for now. :)
Thanks anyway for quick response!

On Wed, Nov 24, 2010 at 12:32 AM, Rene Groeschke [via Gradle]
<[email protected]> wrote:
> hi omax,
>
> There was a discussion about that on the mailinglist. have a look at
> this thread:
> http://www.mail-archive.com/u...@.../msg02755.html
>
> If you need further help, don't hesitate to ask.
>
> regards,
> René
>
> Am 23.11.10 23:15, schrieb omax:
>>
>> Hello,
>>
>> I have usual setup of my sourceSets as following:
>>
>> sourceSets {
>> main {
>> java {
>> srcDir 'src'
>> }
>> }
>> }
>>
>> But some java sources are not compilable and I would like to exclude them.
>> Is there any easy way to do it with gradle?
>>
>> I could do it with Maven using standard excludes as following:
>>
>> <plugin>
>> <artifactId>maven-compiler-plugin</artifactId>
>> <configuration>
>> <excludes>
>> <exclude>**/uncompilable/**</exclude>
>> </excludes>
>> </configuration>
>> </plugin>
>>
>
>
> --
> ------------------------------------
> Rene Groeschke
>
> [hidden email]
> http://www.breskeby.com
> http://twitter.com/breskeby
> ------------------------------------
>
>
>
> ________________________________
> View message @
> http://gradle.1045684.n5.nabble.com/Exclude-some-java-classes-packages-from-compilation-sourceSets-tp3277622p3277638.html
> To unsubscribe from Exclude some java classes packages from
> compilation/sourceSets, click here.



-- 
Thanks,
Oleksandr Maksymchuk

-- 
View this message in context: 
http://gradle.1045684.n5.nabble.com/Exclude-some-java-classes-packages-from-compilation-sourceSets-tp3277622p3277980.html
Sent from the gradle-user mailing list archive at Nabble.com.

Reply via email to