Jonathan Leitschuh
Jonathan Leitschuh

Reputation: 868

Travis CI Execution failed for task ':compileJava'. > invalid source release: 1.8

I am getting a random error while trying to get Travis to Build my gradle project.

Not sure what I'm doing wrong.

Execution failed for task ':compileJava'.

invalid source release: 1.8

https://travis-ci.org/WPIRoboticsProjects/grip/builds/77586600

Upvotes: 2

Views: 1458

Answers (1)

Jonathan Leitschuh
Jonathan Leitschuh

Reputation: 868

You have to explicitly tell travis to use java 1.8. http://blog.travis-ci.com/2013-11-26-test-your-java-libraries-on-java-8/

Upvotes: 4

Related Questions