9797 testLogging {
9898 events ' FAILED' , ' SKIPPED'
9999 }
100- jvmArgs + = ' -Djava.security.egd=file:/dev/./urandom -Xmx256m '
100+ jvmArgs + = ' -Djava.security.egd=file:/dev/./urandom -Xmx512m '
101101 // uncomment if the tests reports are not generated
102102 // see https://github.com/jhipster/generator-jhipster/pull/2771 and https://github.com/jhipster/generator-jhipster/pull/4484
103103 // ignoreFailures true
@@ -109,24 +109,7 @@ modernizer {
109109 includeTestClasses = true
110110}
111111
112- task integrationTest (type : Test ) {
113- useJUnitPlatform()
114- description = " Execute integration tests."
115- group = " verification"
116- include " **/*IT*" , " **/*IntTest*"
117- testLogging {
118- events ' FAILED' , ' SKIPPED'
119- }
120- jvmArgs + = ' -Djava.security.egd=file:/dev/./urandom -Xmx256m'
121- if (project. hasProperty(' testcontainers' )) {
122- environment ' spring.profiles.active' , ' testcontainers'
123- }
124112
125- // uncomment if the tests reports are not generated
126- // see https://github.com/jhipster/generator-jhipster/pull/2771 and https://github.com/jhipster/generator-jhipster/pull/4484
127- // ignoreFailures true
128- reports. html. enabled = false
129- }
130113
131114check. dependsOn integrationTest
132115task testReport (type : TestReport ) {
@@ -195,7 +178,7 @@ configurations {
195178 resolutionStrategy {
196179 // Inherited version from Spring Boot can't be used because of regressions:
197180 // To be removed as soon as spring-boot use the same version
198- force ' org.liquibase:liquibase-core:4.6.1 '
181+ force ' org.liquibase:liquibase-core:4.12.0 '
199182 }
200183 }
201184}
@@ -218,62 +201,49 @@ dependencies {
218201 implementation group : " tech.jhipster" , name : " jhipster-framework"
219202 implementation " javax.annotation:javax.annotation-api"
220203 implementation " org.springframework.boot:spring-boot-starter-cache"
221- implementation " io.dropwizard.metrics:metrics-core"
222- implementation " io.micrometer:micrometer-registry-prometheus"
223- implementation " com.fasterxml.jackson.datatype:jackson-datatype-hppc"
224- implementation " com.fasterxml.jackson.datatype:jackson-datatype-jsr310"
225204 implementation " com.fasterxml.jackson.module:jackson-module-jaxb-annotations"
226205 implementation " com.fasterxml.jackson.datatype:jackson-datatype-hibernate5"
227- implementation " com.fasterxml.jackson.core:jackson-annotations"
228- implementation " com.fasterxml.jackson.core:jackson-databind"
229- implementation " javax.cache:cache-api"
230- implementation " org.hibernate:hibernate-core"
206+ implementation " com.fasterxml.jackson.datatype:jackson-datatype-hppc"
207+ implementation " com.fasterxml.jackson.datatype:jackson-datatype-jsr310"
208+ testImplementation " org.testcontainers:junit-jupiter"
209+ testImplementation " org.testcontainers:testcontainers"
210+ implementation " org.springdoc:springdoc-openapi-webmvc-core"
231211 implementation " com.zaxxer:HikariCP"
232212 implementation " org.apache.commons:commons-lang3"
233213 implementation " org.openapitools:jackson-databind-nullable:${ jacksonDatabindNullableVersion} "
234- implementation " javax.transaction:javax.transaction -api"
214+ implementation " javax.cache:cache -api"
235215 implementation " org.ehcache:ehcache"
236216 implementation " org.hibernate:hibernate-jcache"
237- implementation " org.hibernate:hibernate-entitymanager"
217+ annotationProcessor " org.hibernate:hibernate-jpamodelgen:${ hibernateVersion} "
218+ implementation " org.hibernate:hibernate-core"
238219 implementation " org.hibernate.validator:hibernate-validator"
239220 implementation " org.liquibase:liquibase-core"
240221 liquibaseRuntime " org.liquibase:liquibase-core"
241- liquibaseRuntime " org.liquibase.ext:liquibase-hibernate5:${ liquibaseHibernate5Version} "
242- liquibaseRuntime sourceSets. main. compileClasspath
222+ implementation " org.mapstruct:mapstruct:${ mapstructVersion} "
223+ annotationProcessor " org.mapstruct:mapstruct-processor:${ mapstructVersion} "
224+ annotationProcessor " org.springframework.boot:spring-boot-configuration-processor:${ springBootVersion} "
243225 implementation " org.springframework.boot:spring-boot-loader-tools"
244- implementation " org.springframework.boot:spring-boot-starter-mail"
245- implementation " org.springframework.boot:spring-boot-starter-logging"
246226 implementation " org.springframework.boot:spring-boot-starter-actuator"
247227 implementation " org.springframework.boot:spring-boot-starter-data-jpa"
248- testImplementation " org.testcontainers:postgresql"
249- implementation " org.springframework.boot:spring-boot-starter-security"
250- implementation (" org.springframework.boot:spring-boot-starter-web" ) {
251- exclude module : " spring-boot-starter-tomcat"
252- }
253- implementation " org.springframework.boot:spring-boot-starter-undertow"
228+ testImplementation " org.testcontainers:jdbc"
229+ implementation " org.springframework.boot:spring-boot-starter-logging"
230+ implementation " org.springframework.boot:spring-boot-starter-mail"
254231 implementation " org.springframework.boot:spring-boot-starter-thymeleaf"
255- implementation " org.zalando:problem-spring-web"
256- implementation " org.springframework.security:spring-security-config"
257- implementation " org.springframework.security:spring-security-data"
258- implementation " org.springframework.security:spring-security-web"
259- implementation " org.springframework.boot:spring-boot-starter-oauth2-client"
260- implementation " org.springframework.boot:spring-boot-starter-oauth2-resource-server"
261- implementation (" org.springdoc:springdoc-openapi-webmvc-core" )
262- implementation " org.postgresql:postgresql"
263- liquibaseRuntime " org.postgresql:postgresql"
264- implementation " org.mapstruct:mapstruct:${ mapstructVersion} "
265- annotationProcessor " org.mapstruct:mapstruct-processor:${ mapstructVersion} "
266- annotationProcessor " org.hibernate:hibernate-jpamodelgen:${ hibernateVersion} "
267- annotationProcessor " org.glassfish.jaxb:jaxb-runtime:${ jaxbRuntimeVersion} "
268- annotationProcessor " org.springframework.boot:spring-boot-configuration-processor:${ springBootVersion} "
232+ implementation " org.springframework.boot:spring-boot-starter-web"
269233 testImplementation " org.springframework.boot:spring-boot-starter-test"
270- testImplementation " org.springframework.security:spring-security-test"
271234 testImplementation " org.springframework.boot:spring-boot-test"
235+ testImplementation " org.springframework.security:spring-security-test"
272236 testImplementation " com.tngtech.archunit:archunit-junit5-api:${ archunitJunit5Version} "
273237 testRuntimeOnly " com.tngtech.archunit:archunit-junit5-engine:${ archunitJunit5Version} "
274- testImplementation " com.h2database:h2"
275- liquibaseRuntime " com.h2database:h2"
276- developmentOnly " org.springframework.boot:spring-boot-devtools:${ springBootVersion} "
238+ implementation " org.zalando:problem-spring-web"
239+ implementation " org.springframework.boot:spring-boot-starter-undertow"
240+ implementation " org.springframework.boot:spring-boot-starter-oauth2-client"
241+ implementation " org.springframework.boot:spring-boot-starter-oauth2-resource-server"
242+ implementation " org.springframework.security:spring-security-data"
243+ implementation " io.micrometer:micrometer-registry-prometheus"
244+ implementation " io.dropwizard.metrics:metrics-core"
245+ liquibaseRuntime sourceSets. main. compileClasspath
246+ liquibaseRuntime " org.liquibase.ext:liquibase-hibernate5:${ liquibaseHibernate5Version} "
277247 // jhipster-needle-gradle-dependency - JHipster will add additional dependencies here
278248}
279249
@@ -307,8 +277,8 @@ if (project.hasProperty("nodeInstall")) {
307277 Architecture arch = org.gradle.nativeplatform.platform.internal.DefaultNativePlatform . getCurrentArchitecture();
308278 Boolean downloadNode = ! os. isMacOsX() || arch. isAmd64()
309279 node {
310- version = " 16.14 .0"
311- npmVersion = " 8.6.0 "
280+ version = " 16.16 .0"
281+ npmVersion = " 8.15.1 "
312282 download = downloadNode
313283 }
314284
0 commit comments