Skip to content

Commit 7d68d23

Browse files
committed
Fix Asciidoctor config/JSR305
1 parent ff2b413 commit 7d68d23

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

Diff for: build.gradle

+13-11
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
}
66
dependencies {
77
classpath 'io.spring.gradle:docbook-reference-plugin:0.3.1'
8-
classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.3'
8+
classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.8'
99
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
1010
classpath "org.jetbrains.kotlin:kotlin-allopen:$kotlinVersion"
1111
}
@@ -69,6 +69,7 @@ subprojects { subproject ->
6969
ext {
7070
assertjVersion = '3.9.1'
7171
assertkVersion = '0.10'
72+
googleJsr305Version = '3.0.2'
7273
hamcrestVersion = '1.3'
7374
jacksonVersion = '2.9.5'
7475
jaywayJsonPathVersion = '2.4.0'
@@ -95,6 +96,7 @@ subprojects { subproject ->
9596

9697
// dependencies that are common across all java projects
9798
dependencies {
99+
compileOnly "com.google.code.findbugs:jsr305:$googleJsr305Version"
98100
testCompile "org.junit.jupiter:junit-jupiter-api:$junitJupiterVersion"
99101
testRuntime "org.junit.jupiter:junit-jupiter-engine:$junitJupiterVersion"
100102
testRuntime "org.junit.platform:junit-platform-launcher:$junitPlatformVersion"
@@ -241,16 +243,16 @@ asciidoctor {
241243
logDocuments = true
242244
options = [
243245
doctype: 'book',
244-
attributes: [
245-
docinfo: '',
246-
toc2: '',
247-
'compat-mode': '',
248-
imagesdir: '',
249-
stylesdir: "stylesheets/",
250-
stylesheet: 'golo.css',
251-
'spring-kafka-version': "$version",
252-
'source-highlighter': 'highlightjs'
253-
]
246+
]
247+
attributes = [
248+
docinfo: '',
249+
toc2: '',
250+
'compat-mode': '',
251+
imagesdir: '',
252+
stylesdir: "stylesheets/",
253+
stylesheet: 'golo.css',
254+
'spring-kafka-version': "$version",
255+
'source-highlighter': 'highlightjs'
254256
]
255257
}
256258

0 commit comments

Comments
 (0)