◐ Shell
clean mode source ↗

Migration of the `svg` library to Gradle by jishnunambiarr · Pull Request #1121 · processing/processing4

Conversation

@jishnunambiarr

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

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

@catilac

@jishnunambiarr

Hey @Stefterv, unfortunately I cannot work on this issue further due to time constraints. Feel free to reassign it or let someone else take over.

@catilac