Initial version of sisvietnamvn generated by generator-jhipster@9.1.0
This commit is contained in:
+93
-20
@@ -1,32 +1,105 @@
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'org.springframework.boot' version '4.0.6'
|
||||
id 'io.spring.dependency-management' version '1.1.7'
|
||||
id "java"
|
||||
id "maven-publish"
|
||||
id "idea"
|
||||
id "eclipse"
|
||||
alias(libs.plugins.gradle.git.properties)
|
||||
alias(libs.plugins.spring.boot)
|
||||
id "jhipster.docker-conventions"
|
||||
id "jhipster.code-quality-conventions"
|
||||
id "org.liquibase.gradle"
|
||||
// jhipster-needle-gradle-plugins - JHipster will add additional gradle plugins here
|
||||
}
|
||||
|
||||
group = 'com.example'
|
||||
version = '0.0.1-SNAPSHOT'
|
||||
group = "com.sisvietnamvn.web"
|
||||
version = "0.0.1-SNAPSHOT"
|
||||
|
||||
description = ""
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion = JavaLanguageVersion.of(21)
|
||||
}
|
||||
sourceCompatibility=21
|
||||
targetCompatibility=21
|
||||
}
|
||||
assert System.properties["java.specification.version"] == "21" || "25"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
mavenCentral()
|
||||
// Local maven repository is required for libraries built locally with maven like development jhipster-bom.
|
||||
// mavenLocal()
|
||||
// jhipster-needle-gradle-repositories - JHipster will add additional repositories
|
||||
}
|
||||
|
||||
apply from: "gradle/spring-boot.gradle"
|
||||
apply from: "gradle/liquibase.gradle"
|
||||
// jhipster-needle-gradle-apply-from - JHipster will add additional gradle scripts to be applied here
|
||||
|
||||
idea {
|
||||
module {
|
||||
excludeDirs += files("node_modules")
|
||||
}
|
||||
}
|
||||
|
||||
eclipse {
|
||||
sourceSets {
|
||||
main {
|
||||
java {
|
||||
srcDirs += ["build/generated/sources/annotationProcessor/java/main"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
|
||||
implementation 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect'
|
||||
implementation 'org.springframework.boot:spring-boot-starter-webmvc'
|
||||
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
||||
testImplementation 'org.springframework.boot:spring-boot-starter-thymeleaf-test'
|
||||
testImplementation 'org.springframework.boot:spring-boot-starter-webmvc-test'
|
||||
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
||||
}
|
||||
|
||||
tasks.named('test') {
|
||||
useJUnitPlatform()
|
||||
implementation libs.jhipster.framework
|
||||
implementation libs.mapstruct
|
||||
implementation libs.springdoc.openapi.starter.webmvc.api
|
||||
implementation "org.springframework.boot:spring-boot-h2console"
|
||||
implementation "org.springframework.boot:spring-boot-jackson2"
|
||||
implementation "org.springframework.boot:spring-boot-starter"
|
||||
implementation "org.springframework.boot:spring-boot-starter-actuator"
|
||||
implementation "org.springframework.boot:spring-boot-starter-aspectj"
|
||||
implementation "org.springframework.boot:spring-boot-starter-cache"
|
||||
implementation "org.springframework.boot:spring-boot-starter-data-jpa"
|
||||
implementation "org.springframework.boot:spring-boot-starter-jackson"
|
||||
implementation "org.springframework.boot:spring-boot-starter-liquibase"
|
||||
implementation "org.springframework.boot:spring-boot-starter-mail"
|
||||
implementation "org.springframework.boot:spring-boot-starter-oauth2-resource-server"
|
||||
implementation "org.springframework.boot:spring-boot-starter-security"
|
||||
implementation "org.springframework.boot:spring-boot-starter-thymeleaf"
|
||||
implementation "org.springframework.boot:spring-boot-starter-tomcat"
|
||||
implementation "org.springframework.boot:spring-boot-starter-validation"
|
||||
implementation "org.springframework.boot:spring-boot-starter-web"
|
||||
implementation "org.springframework.security:spring-security-data"
|
||||
implementation "com.fasterxml.jackson.datatype:jackson-datatype-hppc"
|
||||
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310"
|
||||
implementation "com.zaxxer:HikariCP"
|
||||
implementation "io.micrometer:micrometer-registry-prometheus"
|
||||
implementation "javax.cache:cache-api"
|
||||
implementation "org.apache.commons:commons-lang3"
|
||||
implementation "org.ehcache:ehcache::jakarta"
|
||||
implementation "org.hibernate.orm:hibernate-core"
|
||||
implementation "org.hibernate.orm:hibernate-jcache"
|
||||
implementation "org.hibernate.validator:hibernate-validator"
|
||||
implementation "tools.jackson.datatype:jackson-datatype-hibernate7"
|
||||
implementation "tools.jackson.module:jackson-module-jaxb-annotations"
|
||||
testImplementation(libs.archunit.junit5.api) {
|
||||
exclude group: 'org.slf4j', module: 'slf4j-api'
|
||||
}
|
||||
testImplementation "org.springframework.boot:spring-boot-starter-jackson-test"
|
||||
testImplementation "org.springframework.boot:spring-boot-starter-security-test"
|
||||
testImplementation "org.springframework.boot:spring-boot-starter-test"
|
||||
testImplementation "org.springframework.boot:spring-boot-starter-webmvc-test"
|
||||
testImplementation "org.springframework.boot:spring-boot-test"
|
||||
testImplementation "org.springframework.security:spring-security-test"
|
||||
testImplementation "org.testcontainers:testcontainers"
|
||||
testImplementation "org.testcontainers:testcontainers-jdbc"
|
||||
testImplementation "org.testcontainers:testcontainers-junit-jupiter"
|
||||
testRuntimeOnly(libs.archunit.junit5.engine) {
|
||||
exclude group: 'org.slf4j', module: 'slf4j-api'
|
||||
}
|
||||
annotationProcessor libs.mapstruct.processor
|
||||
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor"
|
||||
annotationProcessor "org.glassfish.jaxb:jaxb-runtime"
|
||||
annotationProcessor "org.hibernate.orm:hibernate-processor"
|
||||
// jhipster-needle-gradle-dependency - JHipster will add additional dependencies here
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user