Build Tool
Releases
Features
9.0.0 Highlights
8.0.0 Highlights
Gradle vs Maven
Learn
User Manual
DPE University
YouTube Channel
Events and Webinar
Support
Community Slack
Community Forums
Professional Services
News
Newsletter
Blog
Gradle Technologies
Develocity®
Build Scan®
DPE.org
Careers
Gradle Forums
Can't build Java 1.8 even with proper Java version in use
Old Forum Archive
Mark_Bober
(markbober)
September 23, 2014, 12:27am
5
Hi, thanks. Here ya go:
In build.gradle:
sourceCompatibility = 1.8 targetCompatibility = 1.8
show post in topic
Related topics
Topic
Replies
Views
Activity
Gradle is not using correct Java Compiler
Old Forum Archive
3
14789
October 9, 2014
Gradle 1.10 and Java8 / JDK8: invalid source release: 1.8
Old Forum Archive
4
41616
November 4, 2014
Gradle project failing to build - discrepancy between Java versions
Help/Discuss
1
1152
July 11, 2016
Is sourceCompatibility ignored when org.gradle.java.home property set?
Old Forum Archive
1
1847
July 8, 2014
How to specify java version when running gradle build?
Help/Discuss
1
9360
May 6, 2016