Releases: infolektuell/gradle-typst
Releases · infolektuell/gradle-typst
Version 0.4.2
This is a housekeeping release with some upgraded build dependencies and a fixed compatibility issue.
Fixed
- The plugin now requires at least JVM 17 to run instead of JVM 22. This solves some compatibility problems when the JVM running Gradle cannot be upgraded. See #1.
Version 0.4.1
Fixed
- If a task input or output is a collection property (list/map/set), additional items can be manually added during configuration instead of just replacing the convention.
Version 0.4.0
Added
- Support for generating documents of a source set in multiple output formats (PDF, PNG, and SVG).
- Target file names in Typst tasks became a task input.
- Typst tasks have optional
packagePath
andpackageCachePath
inputs. The plugin tries to set them if possible. localPackages
property inTypstExtension
which is configured with a platform-dependent convention where local Typst packages are installed.
Changed
TypstSourceSet.merged
was moved to PDF output configuration.- Tracking files in local packages and passing to Typst CLI is opt-out now and must be disabled for Typst versions older than 0.12.0. Package directory is tracked in Gradle only if it exists.
Removed
useLocalPackages
function inTypstSourceSet
Version 0.3.0
Added
TypstCompileTask
now takes creation date as an optional task input, also configurable via extension. See SOURCE_DATE_EPOCH specification for more information.- Utility value source that queries the date from a git revision as a UNIX timestamp that can be passed to
typst.creationTimestamp
extension property
Version 0.2.0
Changed
- System fonts are ignored by default. For Typst versions older than 0.12.0 to run successfully, the
useSystemFonts
property ofTypstCompileTask
must be set totrue
.
Version 0.1.0
Added
- Task to compile multiple Typst documents in parallel
- Task to merge multiple PDF files
- Task to convert images using ImageMagick
- Tasks to download and install Typst from GitHub releases
- DSL extension to configure Typst version and multiple source sets
- Some auxiliary value sources for git has and latest GitHub release