Skip to content

Migration of the svg library to Gradle #1121

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

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

jishnunambiarr
Copy link

Resolves

#1098

Changes

  • Added Gradle Build logic using Kotlin DSL
  • Preserved original Ant functionality with custom task for managing Batik
  • Removed the old Ant Based build.xml

Tests

  • Clean build from scratch downloads Batik successfully.
  • Compilation works with both core.jar and batik.jar dependencies
  • Output JAR library/svg.jar generated correctly
  • Verified that example code from processing.org/reference/libraries/svg runs as expected

Caveats

The backupUrl from the build.xml seems to be broken: https://download.processing.org/batik/batik-bin-1.19.zip
Please let me know if there is an alternative or if I have missed something here.

Let me know if I need to make further adjustments!

@Stefterv
Copy link
Collaborator

Hi @jishnunambiarr Thank you for your efforts so far!

I have created an example migration with the pdf library over at #1189, would you be interested in adjusting your approach for this PR based on that PR?

@Stefterv Stefterv changed the title Migrated the svg library from Ant-based build.xml to Gradle build.gradle.kts Migration of the svg library to Gradle Jul 23, 2025
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.

2 participants