Skip to content

Commit b73215e

Browse files
committed
Added javax.annottation-api dependency and fixed the build
1 parent 14a0fa0 commit b73215e

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

build.gradle

+7-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ ext {
3737
thymeSecurityVersion = '3.0.2.RELEASE'
3838
jQueryVersion = '3.2.1'
3939
twsVersion = '9.0.0.M22'
40+
annotationApiVersion = '1.3.2'
4041

4142
//persistency libraries
4243
hibernateVersion = '5.6.5.Final'
@@ -74,7 +75,8 @@ ext {
7475
batchCore : "org.springframework.batch:spring-batch-core:$springBatchVersion",
7576
batchIntegration : "org.springframework.batch:spring-batch-integration:$springBatchVersion",
7677
integrationFile : "org.springframework.integration:spring-integration-file:$springIntegrationVersion",
77-
webflux : "org.springframework:spring-webflux:$springVersion"
78+
webflux : "org.springframework:spring-webflux:$springVersion",
79+
annotationApi : "javax.annotation:javax.annotation-api:$annotationApiVersion"
7880

7981
]
8082

@@ -188,6 +190,10 @@ subprojects {
188190
maven { url "http://repo.spring.io/milestone" }
189191
maven { url "https://repo.spring.io/libs-milestone" }
190192
}
193+
194+
dependencies {
195+
spring.annotationApi
196+
}
191197
}
192198

193199
tasks.withType(JavaCompile) {

chapter06/plain-jdbc/docker-build.zip

1.99 KB
Binary file not shown.

chapter13/junit5-test/src/test/java/com/apress/prospring5/ch13/SingerServiceTest.java

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import org.slf4j.LoggerFactory;
1111
import org.springframework.beans.factory.annotation.Autowired;
1212
import org.springframework.test.context.ActiveProfiles;
13+
1314
import org.springframework.test.context.jdbc.Sql;
1415
import org.springframework.test.context.jdbc.SqlConfig;
1516
import org.springframework.test.context.jdbc.SqlGroup;

0 commit comments

Comments
 (0)