70 lines
2.0 KiB
Kotlin
70 lines
2.0 KiB
Kotlin
/*
|
|
* Project Asgard
|
|
*
|
|
* Copyright (c) 2021. Elex. All Rights Reserved.
|
|
* https://www.elex-project.com/
|
|
*/
|
|
|
|
plugins {
|
|
id("elex-springboot")
|
|
|
|
id("org.springframework.boot") version "2.5.3"
|
|
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 = ""
|
|
|
|
repositories {
|
|
maven {
|
|
url = uri("https://repository.elex-project.com/repository/maven")
|
|
}
|
|
}
|
|
|
|
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(project(":sitemap"))
|
|
implementation(project(":linkback"))
|
|
implementation(project(":web-app"))
|
|
|
|
implementation("com.vladsch.flexmark:flexmark-all:0.62.2")
|
|
|
|
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
|
|
implementation("org.springframework.boot:spring-boot-starter-thymeleaf")
|
|
|
|
//implementation("org.springframework.boot:spring-boot-starter-security")
|
|
implementation("org.springframework.boot:spring-boot-starter-cache")
|
|
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")
|
|
runtimeOnly("com.h2database:h2")
|
|
|
|
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")
|
|
}
|