Giter VIP home page Giter VIP logo

Comments (5)

ari avatar ari commented on August 28, 2024

I confirm. Something is forcing Java 8.

from gradle-compass.

ari avatar ari commented on August 28, 2024

No, that's just the travis tests. The problem is that the project owner compiled the jar with Java 8 and no 'source compatibility' and then uploaded that to bintray/mvn.

Since there is nothing in the release notes, I'm guessing this wasn't intentional.

Ari

On 2/02/2015 3:54pm, Victor Alenkov wrote:

@ari https://github.com/ari, parameter 'oraclejdk8' in https://github.com/robfletcher/gradle-compass/blob/master/.travis.yml


Reply to this email directly or view it on GitHub #36 (comment).

-------------------------->
Aristedes Maniatis
ish
http://www.ish.com.au
Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001 fax +61 2 9550 4001
GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A

from gradle-compass.

aalmiray avatar aalmiray commented on August 28, 2024

Right, looks like explicit source/target compatibility must be put in place, like

    tasks.withType(JavaCompile) {
        sourceCompatibility = '1.7'
        targetCompatibility = '1.7'
    }

    tasks.withType(GroovyCompile) {
        sourceCompatibility = '1.7'
        targetCompatibility = '1.7'
    }

AFAIK this is the only way to force the Groovy compiler to use an specific target level.

from gradle-compass.

britter avatar britter commented on August 28, 2024

This has been fixed with #42

from gradle-compass.

prufrock123 avatar prufrock123 commented on August 28, 2024

Hello,

I am still getting the same error described above, even with the 1.7 fix.

from gradle-compass.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.