Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java

Moses Williams III
Moses Williams III
28,802 Points

How do I run the Gradle Task?

I am currently stuck on a "Local Code Challenge." I believe my code is correct, I just can't run the Gradle Task to create a zip to upload.

Link to challenge:

https://teamtreehouse.com/library/introduction-to-functional-programming/javas-functional-toolset/using-foreach

1 Answer

Martin Klestil
Martin Klestil
5,520 Points

Go to the build.gradle file, right click on task prepareSubmission and run gradle: prepareSubmission.

Now that all tests have passed successfully you have to go to the folder of your project. There is a folder submissions with a zip file. Only these can be uploaded and checked.

I hope I could help you.