Skip to content

Migrate DXF Library from Ant to Gradle (#981) #1031

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

Conversation

LalitNarayanYadav
Copy link

Description

Migrated the DXF library from Ant to Gradle as discussed in issue #981.

Related Issue

Closes #981

Changes Made

  • Replaced Ant build.xml with build.gradle.kts for java/libraries/dxf
  • Ensured core.jar dependency is handled by Gradle
  • Successfully built with :java:libraries:dxf:dxfJar task

Checklist

  • Build succeeds using Gradle
  • DXF no longer relies on Ant
  • Code follows existing formatting and conventions

Let me know if further adjustments are needed!

LalitNarayanYadav and others added 2 commits April 8, 2025 10:01
- Removed ant.importBuild("build.xml")
- Added standalone Gradle build logic using Kotlin DSL
- Configured Java 17 toolchain
- Added core.jar presence check
- Created custom dxfJar and clean tasks

This removes reliance on Ant for the DXF library as part of the migration effort described in processing#981
@SableRaf
Copy link
Collaborator

SableRaf commented Apr 8, 2025

Hi @LalitNarayanYadav. I really appreciate your initiative and effort in working on this! Just a quick note: please make sure to get assigned to an issue before starting work. This helps us coordinate contributions and ensure everyone gets a fair chance to participate. You can find more details in our contribution guidelines.

I’ll close this PR for now, but I encourage you to share your suggested approach in the original issue. After you’re assigned, feel free to re-open a PR.

@SableRaf SableRaf closed this Apr 8, 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.

Move dxf Library to Gradle
2 participants