-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
77 lines (68 loc) · 2.34 KB
/
Copy pathbuild.gradle
File metadata and controls
77 lines (68 loc) · 2.34 KB
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
69
70
71
72
73
74
75
76
77
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java application project to get you started.
* For more details on building Java & JVM projects, please refer to https://docs.gradle.org/9.3.1/userguide/building_java_projects.html in the Gradle documentation.
* This project uses @Incubating APIs which are subject to change.
*/
plugins {
// Apply the application plugin to add support for building a CLI application in Java.
id 'application'
}
repositories {
// Use Maven Central for resolving dependencies.
mavenCentral()
maven {
url = uri("https://maven.pkg.github.com/ansforge/SAMU-Hub-Sante")
credentials {
username = System.getenv('GITHUB_ACTOR')
password = System.getenv('GITHUB_TOKEN')
}
}
}
dependencies {
// This dependency is used by the application.
implementation libs.guava
implementation 'com.hubsante:models:3.3.2'
implementation 'org.slf4j:slf4j-simple:1.7.36'
implementation 'com.rabbitmq:amqp-client:5.34.0'
implementation 'io.github.cdimascio:dotenv-java:3.2.0'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.22.1'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.22.1'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.22.1'
implementation 'javax.validation:validation-api:2.0.1.Final'
implementation 'com.networknt:json-schema-validator:1.5.9'
implementation 'com.github.ben-manes.caffeine:caffeine:3.2.4'
implementation 'org.slf4j:slf4j-api:2.0.18'
runtimeOnly 'ch.qos.logback:logback-classic:1.5.38'
}
testing {
suites {
// Configure the built-in test suite
test {
// Use JUnit Jupiter test framework
useJUnitJupiter('5.14.4')
}
}
}
// Apply a specific Java toolchain to ease working on different environments.
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
application {
// Define the main class for the application.
mainClass = 'org.example.App'
}
tasks.register('runConsumer', JavaExec) {
classpath = sourceSets.main.runtimeClasspath
mainClass = 'org.example.MyConsumer'
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
showStandardStreams = true
}
}