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

CompassPlugin : Unsupported major.minor version 52.0 #36

Closed
BorzdeG opened this issue Jan 31, 2015 · 5 comments
Closed

CompassPlugin : Unsupported major.minor version 52.0 #36

BorzdeG opened this issue Jan 31, 2015 · 5 comments

Comments

@BorzdeG
Copy link

BorzdeG commented Jan 31, 2015

My project uses Java 7

@ari
Copy link

ari commented Feb 2, 2015

I confirm. Something is forcing Java 8.

@ari
Copy link

ari commented Feb 2, 2015

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

@aalmiray
Copy link

aalmiray commented Feb 4, 2015

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.

@britter
Copy link
Contributor

britter commented May 11, 2015

This has been fixed with #42

@prufrock123
Copy link

Hello,

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

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

5 participants