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

Remove source- and targetCompatiblity options and use javaCompile.opt… #1042

Merged
merged 2 commits into from May 29, 2021

Conversation

robertpanzer
Copy link
Member

…ions.release instead

Thank you for opening a pull request and contributing to AsciidoctorJ!

Please take a bit of time giving some details about your pull request:

Kind of change

  • Bug fix
  • New non-breaking feature
  • New breaking feature
  • Documentation update
  • Build improvement

Description

What is the goal of this pull request?

Make sure that AsciidoctorJ can always be consumed with Java 8.

How does it achieve that?

Use the new Gradle option JavaCompile.options.release instead of source and targetCompatibility (https://docs.gradle.org/current/userguide/building_java_projects.html#sec:java_cross_compilation)

Are there any alternative ways to implement this?

Are there any implications of this pull request? Anything a user must know?

Issue

If this PR fixes an open issue, please add a line of the form:

Fixes #Issue

Release notes

Please add a corresponding entry to the file CHANGELOG.adoc

@robertpanzer robertpanzer merged commit fe83101 into asciidoctor:main May 29, 2021
@robertpanzer robertpanzer deleted the build-javacompile-release branch May 29, 2021 13:00
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.

None yet

1 participant