Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Java Introduction to Functional Programming Java's Functional Toolset Using forEach

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.