reform dir structure

This commit is contained in:
2021-01-28 21:38:44 +09:00
parent 6e3db28a60
commit c1d7e9a5ba
19 changed files with 131 additions and 94 deletions

46
app/build.gradle.kts Normal file
View File

@@ -0,0 +1,46 @@
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")
}