Skip to content

Commit

Permalink
Merge pull request #68 from asciidoctor/asciidoctor-pdf-1.6.2
Browse files Browse the repository at this point in the history
Upgrade asciidoctor-pdf to 1.6.2
  • Loading branch information
robertpanzer authored Jan 4, 2022
2 parents 339ac59 + d6b0bca commit 19e77ec
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion asciidoctorj-pdf/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
properName=AsciidoctorJ PDF
description=AsciidoctorJ PDF bundles the Asciidoctor PDF RubyGem (asciidoctor-pdf) so it can be loaded into the JVM using JRuby.
version=1.6.0
version=1.6.2
gem_name=asciidoctor-pdf
20 changes: 14 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ ext {

// gem versions
asciidoctorJVersion = project.hasProperty('asciidoctorJVersion') ? project.asciidoctorJVersion : '2.5.2'
asciidoctorPdfGemVersion = project.hasProperty('asciidoctorPdfGemVersion') ? project.asciidoctorPdfGemVersion : '1.6.1'
asciidoctorPdfGemVersion = project.hasProperty('asciidoctorPdfGemVersion') ? project.asciidoctorPdfGemVersion : '1.6.2'

addressableVersion = '2.8.0'
concurrentRubyVersion = '1.1.7'
public_suffixVersion = '1.4.6'
prawnGemVersion=project.hasProperty('prawnGemVersion') ? project.prawnGemVersion : '2.4.0'
rghostGemVersion = '0.9.7'
rougeGemVersion = '3.26.0'
rougeGemVersion = '3.27.0'
spockVersion = '0.7-groovy-2.0'
threadSafeGemVersion = '0.3.6'
ttfunkGemVersion = '1.7.0'
Expand All @@ -74,12 +74,20 @@ subprojects {

plugins.withType(JavaPlugin) {
project.tasks.withType(JavaCompile) { task ->
task.sourceCompatibility = project.sourceCompatibility
task.targetCompatibility = project.targetCompatibility
if (JavaVersion.current().isJava11Compatible()) {
task.options.release = 8
}
if (project.hasProperty("showDeprecation")) {
options.compilerArgs << "-Xlint:deprecation"
}
if (project.hasProperty("showUnchecked")) {
options.compilerArgs << "-Xlint:unchecked"
}
}
project.tasks.withType(GroovyCompile) { task ->
task.sourceCompatibility = project.sourceCompatibility
task.targetCompatibility = project.targetCompatibility
if (JavaVersion.current().isJava11Compatible()) {
task.options.release = 8
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version=1.6.0
version=1.6.2
sourceCompatibility=1.8
targetCompatibility=1.8

0 comments on commit 19e77ec

Please sign in to comment.