JDK 21 or above is required to run the examples.
Note: Run all subsequent scripts within the photobook-dsl
folder.
Generate Photo Book defined in dev/ssch/photobook/dsl/PhotoBookGenerator.kt
(dsl
module) to book.pdf
:
$ ./gradlew dsl:run
Generate Photo Book defined in album.book.kts
to album.pdf
$ ./gradlew scripting:run --args=album.book.kts
Or by using the all-in-one jar:
$ ./gradlew scripting:allInOneJar
$ java -jar scripting/build/libs/photobook-generator-1.0.jar album.book.kts