Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Unsupported major.minor version 52. #19

Closed
CraigAnderson8 opened this issue May 4, 2016 · 1 comment
Closed

Error: Unsupported major.minor version 52. #19

CraigAnderson8 opened this issue May 4, 2016 · 1 comment

Comments

@CraigAnderson8
Copy link

Executed: gradle build
Output: java.lang.UnsupportedClassVersionError: com/diffplug/gradle/spotless/SpotlessPlugin : Unsupported major.minor version 52.0

gradle.build:

plugins {
id "com.diffplug.gradle.spotless" version "1.3.3"
}

apply plugin: 'com.diffplug.gradle.spotless'
spotless {
java {
eclipseFormatFile 'eclipse-java-google-style.xml' // XML file dumped out by the Eclipse formatter
}
}

Java version: 1.7.0_79

@nedtwigg
Copy link
Member

nedtwigg commented May 4, 2016

Spotless requires that you run Gradle using Java 8. It can format any version of Java, but it needs to be running on Java 8. See #7 for details.

@nedtwigg nedtwigg closed this as completed May 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants