-
Notifications
You must be signed in to change notification settings - Fork 65
/
build.gradle
68 lines (51 loc) · 2.39 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
plugins {
id 'java'
id 'org.springframework.boot'
id 'io.spring.dependency-management'
id 'ca.cutterslade.analyze'
id 'com.bmuschko.docker-spring-boot-application'
}
dependencies {
implementation project(":springwolf-core")
implementation project(":springwolf-add-ons:springwolf-generic-binding")
implementation project(":springwolf-plugins:springwolf-jms")
permitUnusedDeclared project(":springwolf-plugins:springwolf-jms")
permitUsedUndeclared project(":springwolf-bindings:springwolf-jms-binding")
annotationProcessor project(":springwolf-plugins:springwolf-jms")
runtimeOnly project(":springwolf-ui")
compileOnly "jakarta.jms:jakarta.jms-api"
annotationProcessor "org.projectlombok:lombok:${lombokVersion}"
compileOnly "org.projectlombok:lombok:${lombokVersion}"
implementation "org.slf4j:slf4j-api:${slf4jApiVersion}"
implementation "io.swagger.core.v3:swagger-annotations-jakarta:${swaggerVersion}"
implementation "org.springframework:spring-context"
implementation "org.springframework:spring-jms"
implementation "org.springframework.boot:spring-boot"
implementation "org.springframework.boot:spring-boot-autoconfigure"
runtimeOnly "org.springframework.boot:spring-boot-starter-web"
runtimeOnly "org.springframework.boot:spring-boot-starter-artemis"
testRuntimeOnly "org.junit.jupiter:junit-jupiter:${junitJupiterVersion}"
testImplementation "org.junit.jupiter:junit-jupiter-api:${junitJupiterVersion}"
testImplementation "org.mockito:mockito-core:${mockitoCoreVersion}"
testImplementation "org.springframework.boot:spring-boot-test"
testImplementation "org.springframework:spring-beans"
testImplementation "org.springframework:spring-web"
testImplementation "org.springframework:spring-test"
testImplementation "org.testcontainers:testcontainers:${testcontainersVersion}"
testImplementation "org.testcontainers:junit-jupiter:${testcontainersVersion}"
}
docker {
springBootApplication {
maintainer = 'shamir.stav@gmail.com'
baseImage = 'eclipse-temurin:17-jre-focal'
ports = [8080]
images = ["stavshamir/springwolf-jms-example:${project.version}"]
}
registryCredentials {
username = project.findProperty('DOCKERHUB_USERNAME') ?: ''
password = project.findProperty('DOCKERHUB_TOKEN') ?: ''
}
}
test {
dependsOn dockerBuildImage
}