@@ -17,51 +17,47 @@ repositories {
1717}
1818
1919ext {
20- set(' snippetsDir' , file(" build/generated-snippets" ))
20+ set(' snippetsDir' , file(' build/generated-snippets' ))
2121}
2222
2323configurations {
2424 asciidoctorExtensions
2525}
2626
2727asciidoctorj {
28- version = " 3.0.0"
28+ version = ' 3.0.0'
2929}
3030
3131dependencies {
3232 asciidoctorExtensions ' org.springframework.restdocs:spring-restdocs-asciidoctor'
3333
3434 implementation ' org.springframework.boot:spring-boot-starter-data-jpa'
3535 implementation ' org.springframework.boot:spring-boot-starter-webmvc'
36-
3736 implementation ' org.springframework.boot:spring-boot-starter-actuator'
3837 implementation ' org.springframework.boot:spring-boot-starter-web'
3938 implementation ' org.springframework.boot:spring-boot-starter-thymeleaf'
4039 implementation ' org.commonmark:commonmark:0.27.0'
4140 implementation ' org.apache.commons:commons-lang3:3.20.0'
42-
4341 runtimeOnly ' org.postgresql:postgresql'
44-
45-
4642 testImplementation ' org.springframework.boot:spring-boot-starter-test'
4743 testImplementation ' org.springframework.boot:spring-boot-starter-data-jpa-test'
4844 testImplementation ' org.springframework.boot:spring-boot-starter-webmvc-test'
4945 testImplementation ' org.springframework.restdocs:spring-restdocs-mockmvc'
5046 testRuntimeOnly ' org.junit.platform:junit-platform-launcher'
5147}
5248
53- tasks. named(" test" ) {
49+ tasks. named(' test' ) {
5450 useJUnitPlatform()
5551 outputs. dir snippetsDir
5652}
5753
58- tasks. named(" asciidoctor" ) {
59- configurations " asciidoctorExtensions"
54+ tasks. named(' asciidoctor' ) {
55+ configurations ' asciidoctorExtensions'
6056 inputs. dir snippetsDir
6157 dependsOn test
6258}
6359
64- tasks. named(" bootJar" ) {
60+ tasks. named(' bootJar' ) {
6561 dependsOn asciidoctor
6662 from(" ${ asciidoctor.outputDir} " ) {
6763 into ' static/docs'
0 commit comments