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 trialGi Devs
12,171 Pointslanguage level
during this course I've had to change the level of the Java language several times from level 6 to level 8, and this resets every time that we add a new item to the .gradle is there a way that I can set this as a default in inteliJ so that I don't have to spend that extra minute setting the language level and changing the version from 1.5 to 1.7
1 Answer
Kourosh Raeen
23,733 PointsI had the same problem and what fixed it was changing
sourceCompatibility = 1.5
to
sourceCompatibility = 1.8
in the project's build.gradle file.