Hey

Might it be this issue: http://issues.gradle.org/browse/GRADLE-1442 ?

Cheers!
Szczepan
22-04-2011 14:27 użytkownik "Stephane Toussaint" <
[email protected]> napisał:
> Hi,
>
> Maybe am I doing something wrong, but I'm facing a problem when using
classifier.
>
> A snap from my build.gradle :
>
> dependencies {
> compile 'mygroup:myartifact:1.0.0-SNAPSHOT' // The jar package of my
module
> testRuntime group: 'mygroup', name: 'myartifact', version:
'1.0.0-SNAPSHOT', classifier: 'tests' // The test-jar package of my module
> }
>
> The myartifact module has been deployed as a jar and as a test-jar. When
building my project under Intellij Idea. Everything fine. Compilation and
Test are Ok.
> When running ./gradlew build or test, there is test failure, due to
java.lang.NoClassDefFoundError on a class within the jar package.
>
> It seems that the test-jar package has the precedence on the jar package.
>
> What am I doing wrong ?
>
> Tested with 1.0-milestone-1 and 1.0-milestone-2
>
> Thanks
> Stephane
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>

Reply via email to