-
-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathbuild.gradle
More file actions
108 lines (100 loc) · 4.65 KB
/
Copy pathbuild.gradle
File metadata and controls
108 lines (100 loc) · 4.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
plugins {
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 "jhipster.gatling-conventions"
id "org.liquibase.gradle"
id "jhipster.node-gradle-conventions"
// jhipster-needle-gradle-plugins - JHipster will add additional gradle plugins here
}
group = "io.github.jhipster.sample"
version = "0.0.1-SNAPSHOT"
description = ""
java {
sourceCompatibility=21
targetCompatibility=21
}
assert System.properties["java.specification.version"] == "21" || "25"
repositories {
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 platform(libs.spring.cloud.dependencies)
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-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"
developmentOnly "org.springframework.boot:spring-boot-docker-compose"
// jhipster-needle-gradle-dependency - JHipster will add additional dependencies here
}