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 most deprecated Grolifant 2.0 APIs #675

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

ysb33r
Copy link
Member

@ysb33r ysb33r commented Jun 4, 2023

We are now left with the following:

  • JavaForkOptions. This may require some work as currently Grolifant only support fork configuration as part of a task that implements a ForkedJvmExecutable.
  • TaskProvider. There are a number of places that uses the legacy TaskProvider from Grolifant in a way where there is no new suitable replacement.
  • Asciidotor.convertFile. Curretnly the Asciidoctor API does not allow for inspection of the Option object and the old Map methods are all deprecated.

settings.gradle Outdated Show resolved Hide resolved
@ysb33r ysb33r force-pushed the schalk/grolifant-2 branch 2 times, most recently from a44a66d to 0fbe887 Compare June 5, 2023 09:06
@ysb33r ysb33r force-pushed the schalk/grolifant-2 branch 10 times, most recently from 28f493a to 2abe4f6 Compare January 4, 2024 18:07
@ysb33r ysb33r added this to the 4.0.0 milestone Jan 4, 2024
This prepares 4.0.0 final release. It fully integrates with Grolifant 2.2
and adopts the newer JVM execution models too, whichs allows for better
integration with Gradle workers. This has been so successful that the
default execution model is no a worker with classpath isolation as
previously it always has been javaexec.

JRuby: jruby-gradle plugin has been replaced with jruby-simple-plugin.
  This eliminates a number of issues with the previous plugin in
  terms of functionality and compatibiliy. It also restores
  plugin compatibility with JDK8 whereas the older plugin requires
  JDK11.

GEMs: The issues with load errors for external GEMs has been
  resolved, but eliminating the use of GEM_PATH and rather
  compiling a custom GEM Jar on the fly and placing it on the
  classpath.

Disabled plugins: Some plugins were disabled for this
  release and will probably be fixed for future releases. Due to
  their limited usage, it was thought better to get a release out
  now and fix these later. The plugins are:

  - Leanpub
  - Slides
  - Slides export

Other:

- `asciidoctorEditorConfig` is now lazy-created
- Update to NodeJs plugin 2.0.1
- Remove most deprecated Grolifant 2.0 APIs

Known issues:

- Supplying an extension via a configuration rather than via
  `docExtensions` does not work.
- GEM resolver test on Windows is failing.
- Asciidotor.convertFile. Curretnly the Asciidoctor API does not
  allow for inspection of the Option object and the old Map methods
  are all deprecated.

Closes: #628, #626, #655, #658, #664, #671, #673, #684, i#692, #693
@ysb33r ysb33r merged commit a0892a7 into development-4.x Jan 4, 2024
6 checks passed
@ysb33r ysb33r deleted the schalk/grolifant-2 branch January 8, 2024 18:56
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.

1 participant