gmazelier / gradle-jasperreports

Provides the capability to compile JasperReports design files.
https://plugins.gradle.org/plugin/com.github.gmazelier.jasperreports
Apache License 2.0
25 stars 19 forks source link

Documentation: tmpDir, outdir should use doubles quotes #10

Closed mpscheidt closed 5 years ago

mpscheidt commented 6 years ago

There is an error in the documentation:

tmpDir = file('${project.buildDir}/jasperreports')
outDir = file('${project.buildDir}/classes/main')

This will create a directory called ${project.buildDir} in the project's main dir.

Example should use double quotes to specify tmpDir and outDir, in order to support String interpolation, replacing ${project.buildDir} with its value:

tmpDir = file("${project.buildDir}/jasperreports")
outDir = file("${project.buildDir}/classes/main")
gmazelier commented 5 years ago

Fixed by 3652cf773289652aa8fdd9b629ba1357e3c8e977.