@@ -7,8 +7,8 @@ plugins {
77
88group = ' pl.databucket'
99version = ' 3.4.4'
10- targetCompatibility = 8
11- sourceCompatibility = 8
10+ targetCompatibility = 17
11+ sourceCompatibility = 17
1212
1313// compileJava.options.fork = true
1414// compileJava.options.forkOptions.executable = 'C:\\Program Files\\Java\\jdk1.8.0_191\\bin\\javac'
@@ -29,14 +29,14 @@ jar {
2929
3030
3131dependencies {
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 '
32+ implementation ' org.springframework.boot:spring-boot-starter:2.6.8 '
33+ implementation ' org.springframework.boot:spring-boot-starter-web:2.6.8 '
34+ implementation ' org.springframework.boot:spring-boot-starter-data-jpa:2.6.9 '
35+ implementation ' org.springframework.boot:spring-boot-starter-security:2.6.8 '
36+ implementation ' org.springframework.boot:spring-boot-starter-actuator:2.6.8 '
37+ implementation ' org.springframework.boot:spring-boot-starter-mail:2.6.8 '
3838 implementation ' org.springframework:spring-tx:5.3.9'
39- implementation ' org.postgresql:postgresql:42.2.23.jre7 '
39+ implementation ' org.postgresql:postgresql:42.2.27 '
4040 implementation ' com.fasterxml.jackson.core:jackson-core:2.13.1'
4141 implementation ' org.projectlombok:lombok:1.18.20'
4242 implementation group : ' org.apache.commons' , name : ' commons-lang3' , version : ' 3.12.0'
@@ -46,7 +46,7 @@ dependencies {
4646 implementation group : ' com.vladmihalcea' , name : ' hibernate-types-52' , version : ' 2.12.0'
4747 implementation group : ' io.jsonwebtoken' , name : ' jjwt' , version : ' 0.9.1'
4848 implementation group : ' org.modelmapper' , name : ' modelmapper' , version : ' 2.4.4'
49- implementation group : ' org.yaml' , name : ' snakeyaml' , version : ' 1.29 '
49+ implementation group : ' org.yaml' , name : ' snakeyaml' , version : ' 1.33 '
5050
5151 compileOnly ' org.projectlombok:lombok:1.18.20'
5252 annotationProcessor ' org.projectlombok:lombok'
@@ -79,11 +79,11 @@ test {
7979
8080import org.apache.tools.ant.taskdefs.condition.Os
8181
82- task deleteStatic ( type : Delete ) {
82+ tasks . register( ' deleteStatic ' , Delete ) {
8383 delete " src/main/resources/static"
8484}
8585
86- task buildFrontend ( ) {
86+ tasks . register( ' buildFrontend ' ) {
8787 String npm = ' npm'
8888 if (Os . isFamily(Os . FAMILY_WINDOWS )) {
8989 npm = ' npm.cmd'
@@ -100,7 +100,7 @@ task buildFrontend() {
100100 }
101101}
102102
103- task copyFrontend ( ) {
103+ tasks . register( ' copyFrontend ' ) {
104104 copy {
105105 from " frontend/build"
106106 into " src/main/resources/static"
@@ -109,4 +109,4 @@ task copyFrontend() {
109109
110110copyFrontend. dependsOn buildFrontend
111111
112- bootJar. dependsOn copyFrontend
112+ bootJar. dependsOn copyFrontend
0 commit comments