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 Conclusion

How to configure build.gradle in order to deply to heroku?

I was wanting to test deplying todotoday to heroku but am getting errors when I perform

gradle stage; or gradle build...

Here is output from console:

C:\Users\Kieran\IdeaProjects\todotoday>gradle stage

FAILURE: Build failed with an exception.

  • Where: Build file 'C:\Users\Kieran\IdeaProjects\todotoday\build.gradle' line: 16

  • What went wrong: A problem occurred evaluating root project 'todotoday'.

    io/spring/gradle/dependencymanagement/DependencyManagementExtension

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 1.614 secs

..Would be nice to have some hints or be pointed in the right direction..

I tried adding: classpath "io.spring.gradle:dependency-management-plugin:1.0.0.RC1"

to dependencies and include:

apply plugin: 'io.spring.dependency-management'

As a plugin...

1 Answer

Does your code look exactly like the documentation?