# Gradle 1.8-rc-2 is now available for testing

**URL:** <https://discuss.gradle.org/t/gradle-1-8-rc-2-is-now-available-for-testing/7733>\
**Category:** Old Forum Archive\
**Created:** [September 19, 2013, 6:21am UTC](https://discuss.gradle.org/t/gradle-1-8-rc-2-is-now-available-for-testing/7733 "2013-09-19T06:21:00Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rene](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/rene/32/8082_2.png) [@Rene](https://discuss.gradle.org/u/Rene)\
**Post date:** [September 19, 2013, 6:21am UTC](https://discuss.gradle.org/t/gradle-1-8-rc-2-is-now-available-for-testing/7733/1 "2013-09-19T06:21:00Z")

</div>

The Gradle team is pleased to announce that the second release candidate for Gradle 1.8 is now available.

This version fixes two issues found in 1.8-rc-1:

- GRADLE-2889

- GRADLE-2890

You can find information on what’s new in the release notes.

Download links for the release candidate can be found as always at [http://gradle.org/release-candidate](http://gradle.org/release-candidate).

Please try Gradle 1.8-rc-2 with your projects and let us know your experiences.

---

<div class="post-metadata">

**Author:** ![Benjamin\_Manes](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/benjamin_manes/32/112_2.png) [@Benjamin\_Manes](https://discuss.gradle.org/u/Benjamin_Manes)\
**Post date:** [September 19, 2013, 9:20am UTC](https://discuss.gradle.org/t/gradle-1-8-rc-2-is-now-available-for-testing/7733/2 "2013-09-19T09:20:00Z")

</div>

In my build, this candidate reliably fails when running unit tests due to NoClassDefFoundError or resource loading problems. The tests pass in v1.7 and in Eclipse, so I suspect that there is another dependency bug.

EDIT: Appears to be unable to find resources on the classpath. Due to poor usage of statics this resulted in a class load problem. The resources are listed in the jar and build/resources/main.

---

<div class="post-metadata">

**Author:** ![Rene](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/rene/32/8082_2.png) [@Rene](https://discuss.gradle.org/u/Rene)\
**Post date:** [September 19, 2013, 2:57pm UTC](https://discuss.gradle.org/t/gradle-1-8-rc-2-is-now-available-for-testing/7733/3 "2013-09-19T14:57:00Z")

</div>

Hello Benjamin,

thanks for reporting this problem. Do you have a selfcontained small example availabe that allows us to reproduce your problem easily?

cheers, René

---

<div class="post-metadata">

**Author:** ![Szczepan\_Faber](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/szczepan_faber/32/213_2.png) [@Szczepan\_Faber](https://discuss.gradle.org/u/Szczepan_Faber)\
**Post date:** [September 19, 2013, 3:26pm UTC](https://discuss.gradle.org/t/gradle-1-8-rc-2-is-now-available-for-testing/7733/4 "2013-09-19T15:26:00Z")

</div>

Hey,

Can you submit a stack trace? Did it work with 1.8-rc-1?

A small sample project would be awesome 😉

Thanks a lot for reporting!

---

<div class="post-metadata">

**Author:** ![Benjamin\_Manes](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/benjamin_manes/32/112_2.png) [@Benjamin\_Manes](https://discuss.gradle.org/u/Benjamin_Manes)\
**Post date:** [September 19, 2013, 8:33pm UTC](https://discuss.gradle.org/t/gradle-1-8-rc-2-is-now-available-for-testing/7733/5 "2013-09-19T20:33:00Z")

</div>

This is my fault and not a bug. I think it is a change in behavior due to the upgrade of Ant. I was using the FixCrLfFilter across all files in processResources, assuming it correctly skipped binary content. This worked in v1.7, but with 1.8-rc-X it fails. I’ve added a filesMatching predicate to restrict it to \*.sql files which we validate by checksum that they haven’t been modified after a release (Flyway).

---

<div class="post-metadata">

**Author:** ![Szczepan\_Faber](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/szczepan_faber/32/213_2.png) [@Szczepan\_Faber](https://discuss.gradle.org/u/Szczepan_Faber)\
**Post date:** [September 19, 2013, 9:29pm UTC](https://discuss.gradle.org/t/gradle-1-8-rc-2-is-now-available-for-testing/7733/6 "2013-09-19T21:29:00Z")

</div>

Thanks for update!

---

<div class="post-metadata">

**Author:** ![Learner](https://avatars.discourse-cdn.com/v4/letter/l/b782af/32.png) [@Learner](https://discuss.gradle.org/u/Learner)\
**Post date:** [September 20, 2013, 5:20pm UTC](https://discuss.gradle.org/t/gradle-1-8-rc-2-is-now-available-for-testing/7733/7 "2013-09-20T17:20:00Z")

</div>

In 1.8rc2 and in previous “all” distributions I used there are multiple instances of the same file:

src\META-INF\services\org.gradle.configuration.project.ProjectConfigureAction

… with the following sizes:

89 bytes 133 bytes 56 bytes 65 bytes

---

<div class="post-metadata">

**Author:** ![Rene](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/rene/32/8082_2.png) [@Rene](https://discuss.gradle.org/u/Rene)\
**Post date:** [September 20, 2013, 6:48pm UTC](https://discuss.gradle.org/t/gradle-1-8-rc-2-is-now-available-for-testing/7733/8 "2013-09-20T18:48:00Z")

</div>

Hello “Learner”, thanks for your feedback. this is a known issue which is fixed on master but I think the fix will not be merged down to the 1.8 release branch

---

<div class="post-metadata">

**Author:** ![Learner](https://avatars.discourse-cdn.com/v4/letter/l/b782af/32.png) [@Learner](https://discuss.gradle.org/u/Learner)\
**Post date:** [September 20, 2013, 7:38pm UTC](https://discuss.gradle.org/t/gradle-1-8-rc-2-is-now-available-for-testing/7733/9 "2013-09-20T19:38:00Z")

</div>

Also, tested again, still an issue:

[http://forums.gradle.org/gradle/topics/custom\_gradle\_task\_extending\_the\_war\_task\_does\_not\_see\_some\_required\_classes?rfm=1](http://forums.gradle.org/gradle/topics/custom_gradle_task_extending_the_war_task_does_not_see_some_required_classes?rfm=1)
