Skip to content

Releases: infolektuell/gradle-typst

Version 0.4.2

09 Jan 15:03
641656e
Compare
Choose a tag to compare

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

31 Oct 20:50
b2f057c
Compare
Choose a tag to compare

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

22 Oct 20:31
c14fddb
Compare
Choose a tag to compare

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 and packageCachePath inputs. The plugin tries to set them if possible.
  • localPackages property in TypstExtension 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 in TypstSourceSet

Version 0.3.0

19 Oct 13:25
c26a305
Compare
Choose a tag to compare

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

19 Oct 10:23
1bf4b5b
Compare
Choose a tag to compare

Changed

  • System fonts are ignored by default. For Typst versions older than 0.12.0 to run successfully, the useSystemFonts property of TypstCompileTask must be set to true.

Version 0.1.0

15 Oct 11:30
04330ed
Compare
Choose a tag to compare

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