Skip to content

Conversation

@amottier
Copy link

@amottier amottier commented May 6, 2021

Build perl-frontend and sonar-perl-plugin using Java 11:

java {
    toolchain {
        languageVersion = JavaLanguageVersion.of(11)
    }
}

But build to allow execution on Java 8 (see javac --release option):

compileJava {
    options.release = 8
}

Option is also required for perl-frontend as sonar-perl-plugin has a dependency on it (for example for PerlConfiguration class).

Closes #117

Build `perl-frontend` and `sonar-perl-plugin` using Java 11:
```
java {
    toolchain {
        languageVersion = JavaLanguageVersion.of(11)
    }
}
```

But build to allow execution on Java 8 (see `javac` `--release` option):
```
compileJava {
    options.release = 8
}
```
@otrosien
Copy link
Member

otrosien commented May 7, 2021

👍

@otrosien otrosien merged commit b5d3910 into sonar-perl:master May 7, 2021
@amottier
Copy link
Author

Thanks @otrosien for merging the PR.

Have you already in mind a date for a new release that will be built using those changes? Thanks.

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

Successfully merging this pull request may close these issues.

Version 0.5.2 requires Java 11

2 participants