1140 Commits

Author SHA1 Message Date
Avinash Kumar Deepak cd49b184fe Publish Serial and IO libraries to Maven Central (#1421)
* serial: use jssc from maven instead of bundled jar

* io: port from ant to gradle, add maven publishing

* move io and net from legacy to regular library build

* revert serial changes for separate pr

* serial: add maven publishing, keep bundled jssc jar
2026-02-20 12:45:59 -05:00
Stef Tervelde 870d1160d7 Publish org.processing.core.dxf to Maven Central (Publish libraries to maven central) (#1403)
* publish dxf library

* different naming

* Naming

* Remove unused itext dependency from dxf module
2026-02-06 09:29:27 -05:00
Avinash Kumar Deepak 8b049efab6 Publish pdf library: add coordinates and simplify signing (#1407) 2026-02-05 19:16:25 -05:00
Avinash Kumar Deepak 81e1d562a8 Port Net and SVG libraries from Ant to Gradle with Maven publishing (#1411) 2026-02-05 19:16:21 -05:00
Stef Tervelde 12ad815ad5 Merge pull request #1347 from Stefterv/library-plugin
Gradle Plugin for creating Processing Libraries
2026-02-02 13:42:05 +01:00
Madhav Majumdar 621d9900b5 Migration of the svg library to Gradle (#1289)
* Update svg build.gradle.kts

* update variable legacyLibraries and libraries
2026-01-14 16:54:27 -05:00
Stef Tervelde eddeda4346 Set Java toolchain to version 17 in library plugin
Configured the ProcessingLibraryPlugin to use Java toolchain version 17 via JavaPluginExtension. Also marked the 'createLibrary' task in dxf library build script as deprecated, recommending use of the 'bundleLibrary' task from the plugin.

Add custom Gradle plugin for Processing libraries

Introduces a new Gradle plugin module for Processing libraries, including plugin implementation, extension, and configuration classes. Updates the DXF library to use the new plugin and configuration DSL, and adjusts project settings to include and manage the plugin build.

Add bundleLibrary task and update library plugin

Introduces BundleLibraryFilesTask to handle bundling of Processing library files, replacing the removed CollectLibraryFilesTask. Updates ProcessingLibraryPlugin to register the new bundleLibrary task, which collects the jar, runtime dependencies, examples, javadoc, and generates library.properties. Also adds a 'name' property to ProcessingLibraryConfiguration and comments out the old createLibrary Copy task in dxf's build script.

Refactor library bundling logic into task class

Moved the logic for bundling Processing library files from the plugin registration into the BundleLibraryFilesTask class. The task now takes a ProcessingLibraryConfiguration and handles copying jars, dependencies, examples, javadocs, and generating library.properties internally. Also made ProcessingLibraryConfiguration serializable for safer Gradle usage.

Update library version handling and add zip task

Changed ProcessingLibraryConfiguration.version from String to Int for stricter versioning. Added a zipLibrary Gradle task to package the library folder as .zip and .pdex archives. Updated dxf library build script to use new version format and incremented version to 1.

Add installLibrary task and update DXF build config

Introduces an installLibrary Gradle task to automate Processing library installation using user preferences. Also re-enables the createLibrary copy task in the DXF library build script and removes minRevision/maxRevision constraints from the library configuration.

Only run when actually running the task -.-

Refactor library author metadata handling

Changed the authors field in ProcessingLibraryConfiguration from a list of names to a map of author names to URLs, updating related code to format authors as markdown links. Updated the DXF library build configuration to use the new authors map structure. Added documentation comments to ProcessingLibraryConfiguration properties for clarity.
2025-11-27 12:40:17 +01:00
Stef Tervelde 2a5341b52f Rename output JARs in createLibrary tasks (#1278)
The createLibrary tasks in dxf, pdf, and serial modules now rename the output JAR files to dxf.jar, pdf.jar, and serial.jar respectively as Processing does not expect the version name to be in the library jar
2025-10-14 10:35:31 -04:00
Madhav Majumdar f36e5b2d83 Migration of the serial library to Gradle (#1106)
* Update build.gradle.kts

* Update build.gradle.kts

* fix build.gradle.kts

* Resolving issue 1099

- Add settings.gradle.kts
- Update build.gradle.kts

* foojay-resolver-convention updated to latest version

* update migration code and revert unnecessary commits
2025-10-06 17:10:19 -04:00
Moon 4495cc5508 Merge branch 'main' into dxfMigration 2025-09-12 10:39:45 -04:00
[Nia Perez] 20425fd0e5 Worked on migration of the dxf library from Ant to Gradle
Signed-off-by: [Nia Perez] <nia.perez.506@gmail.com>

Co-authored-by: Amante' Woodley <awood0727@gmail.com>
Co-authored-by: Kayla Bobo <kay3583@gmail.com>
Co-authored-by: Silas Morgan <victorsmorgan@gmail.com>
2025-07-28 14:30:54 -04:00
Stef Tervelde faf59979b7 Migration of the pdf library to Gradle 2025-07-23 06:58:14 +02:00
Stef Tervelde 4932384288 Merge branch 'processing:main' into gradle-cleanup 2025-07-11 11:51:12 +02:00
Stef Tervelde 1b04f430b4 Updating Batik
Seems like Apache just straight up deleted batik 18 from this download location.
2025-05-07 14:44:36 +02:00
Stef Tervelde dccf16a00c Improved Simplification 2025-02-05 21:33:57 +01:00
Stef Tervelde fb8485451e Simplified gitignores 2025-02-05 21:18:22 +01:00
Stef Tervelde c4caf0f97c Cleaning unused files 2025-02-05 16:46:26 +01:00
Stef Tervelde 8cc0b5f517 Merge branch 'processing:main' into main-gradle 2025-01-21 21:41:18 +01:00
Stef Tervelde 1d79b12b82 Merge pull request #933 from Stefterv/dependency-urls
Updated dependency locations to somewhere more stable 🤞
2025-01-21 20:00:28 +01:00
Stef Tervelde c6a10fcec6 Updated dependency locations to somewhere more stable 🤞 2025-01-21 18:52:36 +01:00
Benjamin Fox c8a85e3a58 Adding an extension handler to the SVG library to allow linear and radial gradients to export as SVG
The extension handler is a copy of https://gist.github.com/msteiger/4509119 by Martin Steiger with minor changes for Processing
Several classes and methods in PShapeSVG and PShapeJava2D have been made public or modified to support the export of gradients
2025-01-19 15:38:54 -05:00
Stef Tervelde d057c46fd2 Java Mode resources and Libraries 2024-12-16 20:34:24 +01:00
Stef Tervelde 138db8471b Cleaned up ignored files 2024-11-17 19:47:08 +01:00
kevinstadler 020c23c9f1 Improve Network and Serial library web reference
- fix broken `@see_external` webref links (remove outdated LIB_ prefix)
- adjust `@instanceName`s and descriptions to match the webref example
  variable names
2024-04-13 18:26:44 -06:00
Ben Fry fb20a176ee fix pdf colors outside the range causing NPE (resolves #740) 2023-07-16 12:40:21 -04:00
Ben Fry d76b1740c3 itext jar as library 2023-05-04 13:49:28 -04:00
Ben Fry 8b4c4efbfd set all build.xml files to Java 17; replace a few tabs with spaces 2023-01-20 11:44:00 -05:00
A Pottinger 8b80e50306 Fix SLF4J issue via JSSC. 2022-10-24 21:18:21 -07:00
A Pottinger ddee1730f7 Switch to upstream JSSC pathing. 2022-10-24 20:04:02 -07:00
A Pottinger b33f236d5a Merge branch 'main' into jssc_fast_forward 2022-10-24 18:55:56 -07:00
A Pottinger fce6a5bfe8 Fast forward JSSC 2022-10-18 09:01:21 -07:00
Ben Fry fb8dfbfd9b purge several "applet" references from the code 2022-08-07 22:17:47 -04:00
Ben Fry a8bb758f9e add clean-libs target to build.xml files 2022-08-04 10:37:44 -04:00
Ben Fry 3699c713d1 replace dev.processing.org bug links with download.processing.org links that work 2022-07-31 15:01:45 -04:00
Ben Fry bade983019 removing JavaFX (in progress) 2022-01-16 14:51:02 -05:00
Ben Fry 7765108ab1 move up from JavaFX 17.0.0.1 to 17.0.1 2022-01-11 07:03:48 -05:00
Ben Fry 9802ccbd88 clean up warnings and formatting in the Client code 2022-01-10 19:08:14 -05:00
Ben Fry aab8d8fa50 use UTF-8 for readString() and write() in net client 2022-01-10 19:04:38 -05:00
Ben Fry 4eb0939a9e adding intellij project files now that they have settled a wee bit 2021-12-06 13:18:48 -05:00
Ben Fry ec8bd52df1 remove extra line 2021-10-13 18:00:18 -04:00
Ben Fry 61f139614c make it possible to build without an internet connection 2021-10-13 17:57:50 -04:00
Ben Fry 272801f95e get rid of version numbers in the name of the batik.jar file 2021-10-11 17:35:26 -04:00
Ben Fry 80f74c1cdf finish replacing JDK 11 and JavaFX 16 with JDK 17 and JavaFX 17 (fixes #285) 2021-10-05 22:04:06 -04:00
Ben Fry 755925f78d Merge pull request #229 from processing/jssc_update_2 2021-10-03 12:51:16 -04:00
Ben Fry 81480008b6 Merge pull request #266 from thomasleplus/patch-1 2021-10-03 12:35:19 -04:00
Ben Fry da26b46ce8 remove absolute path (fixes #276) 2021-10-03 12:04:49 -04:00
Thomas Leplus 47c2a530ac Minor typos 2021-09-17 20:32:24 -07:00
A Pottinger 5f7e6a4fd4 Fix classpath. 2021-08-21 14:33:18 -07:00
A Pottinger 113d8b38a4 Move to new 2.3.5 JSSC 2021-08-21 14:29:57 -07:00
A Pottinger 9cb8f97b0d Move to new JSSC file structure. 2021-08-21 12:30:18 -07:00