58 lines
2.5 KiB
Groovy
58 lines
2.5 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.4.2'
|
|
id 'io.spring.dependency-management' version '1.1.7'
|
|
}
|
|
|
|
group = 'ru.ulstu'
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
maven {
|
|
url = uri("http://repo.athene.tech/repository/maven-central/")
|
|
allowInsecureProtocol(true)
|
|
}
|
|
}
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter'
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-jetty'
|
|
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-thymeleaf'
|
|
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-validation'
|
|
implementation group: 'org.springframework.boot', name:'spring-boot-starter-data-jpa'
|
|
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-security'
|
|
implementation group: 'org.slf4j', name: 'slf4j-api'
|
|
implementation group: 'nz.net.ultraq.thymeleaf', name: 'thymeleaf-layout-dialect'
|
|
implementation group: 'org.thymeleaf.extras', name: 'thymeleaf-extras-springsecurity6'
|
|
implementation group: 'com.h2database', name:'h2'
|
|
implementation group: 'jakarta.xml.bind', name: 'jakarta.xml.bind-api', version: '4.0.2'
|
|
implementation group: 'org.javassist', name: 'javassist', version: '3.30.2-GA'
|
|
implementation group: 'com.fasterxml.jackson.module', name: 'jackson-module-blackbird'
|
|
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.13.2'
|
|
|
|
implementation group: 'org.eclipse.jetty', name: 'jetty-servlets', version: '11.0.24'
|
|
|
|
implementation group: 'org.webjars', name: 'jquery', version: '3.6.0'
|
|
implementation group: 'org.webjars', name: 'bootstrap', version: '4.3.0'
|
|
implementation group: 'org.webjars', name: 'bootstrap-select', version: '1.13.8'
|
|
implementation group: 'org.webjars', name: 'bootstrap-datetimepicker', version: '2.4.4'
|
|
implementation group: 'org.webjars', name: 'font-awesome', version: '4.7.0'
|
|
implementation group: 'org.webjars', name: 'momentjs', version: '2.24.0'
|
|
implementation group: 'org.webjars', name: 'bootstrap-glyphicons', version: 'bdd2cbfba0'
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
|