plugins { id("elex-springboot") id("org.springframework.boot") version "2.4.2" id("io.spring.dependency-management") version "1.0.11.RELEASE" id("org.asciidoctor.convert") version "1.5.8" } group = "com.elex-project" version = "0.0.1-SNAPSHOT" description = "" ext { set("snippetsDir", file("build/generated-snippets")) } springBoot{ buildInfo() } tasks.test { outputs.dir(ext.get("snippetsDir")!!) } tasks.asciidoctor { inputs.dir(ext.get("snippetsDir")!!) setDependsOn(mutableListOf("test")) } dependencies { //implementation("org.springframework.boot:spring-boot-starter-data-jpa") implementation("org.springframework.boot:spring-boot-starter-mustache") //implementation("org.springframework.boot:spring-boot-starter-security") implementation("org.springframework.boot:spring-boot-starter-web") //implementation ("com.fasterxml.jackson.dataformat:jackson-dataformat-xml") //implementation ("com.fasterxml.jackson.datatype:jackson-datatype-jsr310") compileOnly("org.projectlombok:lombok") developmentOnly("org.springframework.boot:spring-boot-devtools") //runtimeOnly("org.mariadb.jdbc:mariadb-java-client") annotationProcessor("org.springframework.boot:spring-boot-configuration-processor") annotationProcessor("org.projectlombok:lombok") testImplementation("org.springframework.boot:spring-boot-starter-test") testImplementation("org.springframework.restdocs:spring-restdocs-mockmvc") //testImplementation("org.springframework.security:spring-security-test") }