@@ -7,10 +7,9 @@ buildscript {
77plugins {
88 id ' jacoco'
99 id ' maven-publish'
10- id ' java'
11- id ' org.springframework.boot' version ' 2.7.6'
12- id ' io.spring.dependency-management' version ' 1.0.13.RELEASE'
13- id ' org.graalvm.buildtools.native' version ' 0.9.28'
10+ id ' java'
11+ id ' org.springframework.boot' version ' 2.7.1'
12+ id ' io.spring.dependency-management' version ' 1.0.11.RELEASE'
1413}
1514
1615group = ' edptoscaqs'
@@ -24,14 +23,14 @@ repositories {
2423ext[' log4j2.version' ] = ' 2.17.0'
2524
2625ext {
27- set(' snippetsDir' , file(" build/generated-snippets" ))
26+ set(' snippetsDir' , file(" build/generated-snippets" ))
2827}
2928
3029dependencies {
31- implementation ' org.springframework.boot:spring-boot-starter-data-jpa'
32- implementation ' org.springframework.boot:spring-boot-starter-data-rest'
33- implementation ' org.springframework.boot:spring-boot-starter-security'
34- implementation ' org.springframework.boot:spring-boot-starter-web'
30+ implementation ' org.springframework.boot:spring-boot-starter-data-jpa'
31+ implementation ' org.springframework.boot:spring-boot-starter-data-rest'
32+ implementation ' org.springframework.boot:spring-boot-starter-security'
33+ implementation ' org.springframework.boot:spring-boot-starter-web'
3534 implementation ' javax.validation:validation-api:2.0.1.Final'
3635 implementation ' org.apache.commons:commons-text:1.10.0'
3736 implementation ' org.hibernate.validator:hibernate-validator:7.0.1.Final'
@@ -42,10 +41,12 @@ dependencies {
4241 runtimeOnly ' com.h2database:h2'
4342 testImplementation group : ' org.mockito' , name : ' mockito-all' , version : ' 1.10.19'
4443 testImplementation ' org.springframework.restdocs:spring-restdocs-mockmvc'
44+ testImplementation ' org.springframework.restdocs:spring-restdocs-mockmvc'
4545 testImplementation group : ' org.assertj' , name : ' assertj-core' , version : ' 3.24.2'
4646 testImplementation ' org.springframework.security:spring-security-test'
4747}
4848
49+
4950bootJar {
5051 archiveFileName = " app.jar"
5152 destinationDirectory = file(" $buildDir /../docker" )
@@ -66,13 +67,4 @@ publishing {
6667 from components. java
6768 }
6869 }
69- }
70-
71- graalvmNative {
72- binaries {
73- main {
74- imageName = ' toscactl-linux-amd64'
75- mainClass = ' com.edptoscaqs.toscaservice.ToscaCLI'
76- }
77- }
7870}
0 commit comments