@@ -7,8 +7,12 @@ plugins {
77
88group = ' pl.databucket'
99version = ' 3.4.4'
10- targetCompatibility = 8
11- sourceCompatibility = 8
10+ targetCompatibility = 17
11+ sourceCompatibility = 17
12+
13+ ext[' log4j2.version' ] = ' 2.20.0'
14+ ext[' tomcat.version' ] = ' 9.0.71'
15+ ext[' jackson.version' ] = ' 2.14.2'
1216
1317// compileJava.options.fork = true
1418// compileJava.options.forkOptions.executable = 'C:\\Program Files\\Java\\jdk1.8.0_191\\bin\\javac'
@@ -17,6 +21,7 @@ configurations {
1721 compileOnly {
1822 extendsFrom annotationProcessor
1923 }
24+ all* . exclude module : ' spring-boot-starter-logging'
2025}
2126
2227repositories {
@@ -29,15 +34,16 @@ jar {
2934
3035
3136dependencies {
32- implementation ' org.springframework.boot:spring-boot-starter:2.5.7'
33- implementation ' org.springframework.boot:spring-boot-starter-web:2.5.7'
34- implementation ' org.springframework.boot:spring-boot-starter-data-jpa:2.5.7'
35- implementation ' org.springframework.boot:spring-boot-starter-security:2.5.7'
36- implementation ' org.springframework.boot:spring-boot-starter-actuator:2.5.7'
37- implementation ' org.springframework.boot:spring-boot-starter-mail:2.5.7'
38- implementation ' org.springframework:spring-tx:5.3.9'
39- implementation ' org.postgresql:postgresql:42.2.23.jre7'
40- implementation ' com.fasterxml.jackson.core:jackson-core:2.13.1'
37+ implementation ' org.springframework.boot:spring-boot-starter:2.7.8'
38+ implementation ' org.springframework.boot:spring-boot-starter-log4j2:2.7.8'
39+ implementation ' org.springframework.boot:spring-boot-starter-web:2.7.8'
40+ implementation ' org.springframework.boot:spring-boot-starter-data-jpa:2.7.8'
41+ implementation ' org.springframework.boot:spring-boot-starter-security:2.7.8'
42+ implementation ' org.springframework.boot:spring-boot-starter-actuator:2.7.8'
43+ implementation ' org.springframework.boot:spring-boot-starter-mail:2.7.8'
44+ implementation ' org.springframework:spring-tx:5.3.25'
45+ implementation ' org.postgresql:postgresql:42.3.8'
46+ implementation ' com.fasterxml.jackson.core:jackson-core:2.14.2'
4147 implementation ' org.projectlombok:lombok:1.18.20'
4248 implementation group : ' org.apache.commons' , name : ' commons-lang3' , version : ' 3.12.0'
4349 implementation group : ' io.springfox' , name : ' springfox-boot-starter' , version : ' 3.0.0'
@@ -46,7 +52,7 @@ dependencies {
4652 implementation group : ' com.vladmihalcea' , name : ' hibernate-types-52' , version : ' 2.12.0'
4753 implementation group : ' io.jsonwebtoken' , name : ' jjwt' , version : ' 0.9.1'
4854 implementation group : ' org.modelmapper' , name : ' modelmapper' , version : ' 2.4.4'
49- implementation group : ' org.yaml' , name : ' snakeyaml' , version : ' 1.29 '
55+ implementation group : ' org.yaml' , name : ' snakeyaml' , version : ' 1.33 '
5056
5157 compileOnly ' org.projectlombok:lombok:1.18.20'
5258 annotationProcessor ' org.projectlombok:lombok'
@@ -66,7 +72,7 @@ dependencies {
6672
6773test {
6874// useJUnitPlatform()
69- afterSuite {desc , result ->
75+ afterSuite { desc , result ->
7076 if (! desc. parent) {
7177 println (" ${ result.resultType} " +
7278 " (${ result.testCount} tests, " +
@@ -79,11 +85,11 @@ test {
7985
8086import org.apache.tools.ant.taskdefs.condition.Os
8187
82- task deleteStatic ( type : Delete ) {
88+ tasks . register( ' deleteStatic ' , Delete ) {
8389 delete " src/main/resources/static"
8490}
8591
86- task buildFrontend ( ) {
92+ tasks . register( ' buildFrontend ' ) {
8793 String npm = ' npm'
8894 if (Os . isFamily(Os . FAMILY_WINDOWS )) {
8995 npm = ' npm.cmd'
@@ -100,7 +106,7 @@ task buildFrontend() {
100106 }
101107}
102108
103- task copyFrontend ( ) {
109+ tasks . register( ' copyFrontend ' ) {
104110 copy {
105111 from " frontend/build"
106112 into " src/main/resources/static"
@@ -109,4 +115,4 @@ task copyFrontend() {
109115
110116copyFrontend. dependsOn buildFrontend
111117
112- bootJar. dependsOn copyFrontend
118+ bootJar. dependsOn copyFrontend
0 commit comments