Skip to content

Commit

Permalink
Prepare release v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tamaracha committed Oct 19, 2024
1 parent 51b9ffb commit acfc6a7
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 7 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.2.0] - 2024-10-19

### 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 `false`.
Expand All @@ -22,5 +24,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- DSL extension to configure Typst version and multiple source sets
- Some auxiliary value sources for git has and latest GitHub release

[unreleased]: https://github.com/infolektuell/gradle-jextract/compare/v0.1.0...HEAD
[0.1.0]: https://github.com/infolektuell/gradle-jextract/releases/tag/v0.1.0
[unreleased]: https://github.com/infolektuell/gradle-typst/compare/v0.2.0...HEAD
[0.2.0]: https://github.com/infolektuell/gradle-typst/compare/v0.1.0...v0.2.0
[0.1.0]: https://github.com/infolektuell/gradle-typst/releases/tag/v0.1.0
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ plugins {
// Good practice to have some standard tasks like clean, assemble, build
id("base")
// Apply the Typst plugin
id("de.infolektuell.typst") version "0.1.0"
id("de.infolektuell.typst") version "0.2.0"
}
// The release tag for the Typst version to be used, defaults to latest stable release on GitHub
typst.version = "v0.12.0-rc1"
typst.version = "v0.12.0"
```

### Adding sources
Expand Down Expand Up @@ -107,6 +107,18 @@ Typst receives the project directory as root (not the root project), so absolute
### Fonts

A document receives the fonts subfolders of their source set and added shared source sets as font paths.
Since version 0.2.0 of this plugin, system fonts are ignored by default for higher reproducibility.
If a Typst version below 0.12.0 is in use or if system fonts should be considered, this must be turned off per configuration:

```gradle kotlin dsl
import de.infolektuell.gradle.typst.tasks.TypstCompileTask
// Configure all typst tasks
tasks.withType(TypstCompileTask::class) {
// Override the convention (false by default)
useSystemFonts = true
}
```

## License

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
group=de.infolektuell
version=0.1.0
version=0.2.0
2 changes: 0 additions & 2 deletions plugin/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import org.jetbrains.kotlin.gradle.dsl.JvmTarget

plugins {
kotlin("jvm") version "2.0.20"
signing
Expand Down

0 comments on commit acfc6a7

Please sign in to comment.