-
Notifications
You must be signed in to change notification settings - Fork 139
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
Spring classpath filtering via Gradle plugin #34
Comments
This example is used to experiment about classpath filtering and benchmarking. Issue gh-34
There is now a minimal sample with class filtering and some preliminary benchmarks. |
For the record, the former configuration I was using with
|
This comment gives interesting insights about why it could be interesting to have a limited number of unused class when it comes to run application in the Cloud (here for Cloud Foundry but I think it could apply to other Cloud Java support). |
It seems Gradle 5.1 now provides a dedicated API: gradle/gradle@0514a4c ! |
Initial plugin available in https://github.com/spring-projects/spring-fu/tree/gradle-plugin but I have not find yet why the artifact transformation is not invoked. |
Gradle 5.5 with official support and documentation for artifact transformation has been released. |
I think GraalVM native images or Jlink are better solution to this need. |
We should be able to do that with something like:
See also https://github.com/gradle/gradle/blob/master/buildSrc/subprojects/packaging/src/main/kotlin/org/gradle/gradlebuild/packaging/MinifyPlugin.kt
The text was updated successfully, but these errors were encountered: