Schaka / janitorr

Cleans your Radarr, Sonarr, Jellyseerr and Jellyfin before you run out of space
GNU General Public License v3.0
263 stars 5 forks source link

Clean up native image code #26

Closed Schaka closed 5 months ago

Schaka commented 5 months ago

Currently, the native image code is still a bit messy. Some beans are created twice to trigger annotations being processed.

The first step to solving this is implementing the changes after receiving a response/fix from Spring here.

The second step would be waiting for @ConditionalOnProperty support coming back and using the "original" code from before Janitorr supported native images.

Giving up native images in favor of pure JVM code isn't an option. A small footprint is paramount for this project.

Schaka commented 5 months ago

After learning about the restrictions via the Spring team, it doesn't make sense to implement these changes