Files
spring-functions-catalog/samples/zip-split-rabbit-binder/build.gradle
Artem Bilan 01d22edfd1 Address PR reviews:
* Fix typos and language in README
* Fix new line in the end of `application.yml`
* Move `@Bean` for `RabbitMQContainer` as a regular `static` property on the class with a `@Container`
* Use `@Testcontainers(disabledWithoutDocker = true)`
* Move `@RabbitListener` method directly to test class
* In the end we don't need extra `@TestConfiguration` class at all
2024-12-09 08:59:32 -05:00

50 lines
1.3 KiB
Groovy

plugins {
id 'java'
id 'org.springframework.boot' version '3.2.12'
id 'io.spring.dependency-management' version '1.1.6'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
repositories {
mavenCentral()
maven { url 'https://repo.spring.io/snapshot' }
}
ext {
springCloudVersion = '2023.0.3'
springFunctionsCatalogVersion = '5.0.2-SNAPSHOT'
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:$springCloudVersion"
mavenBom "org.springframework.cloud.fn:spring-functions-catalog-bom:$springFunctionsCatalogVersion"
}
}
dependencies {
implementation 'org.springframework.cloud:spring-cloud-stream-binder-rabbit'
implementation 'org.springframework.integration:spring-integration-zip'
implementation 'org.springframework.cloud.fn:spring-file-supplier'
implementation 'org.springframework.cloud.fn:spring-splitter-function'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.boot:spring-boot-testcontainers'
testImplementation 'org.testcontainers:junit-jupiter'
testImplementation 'org.testcontainers:rabbitmq'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
tasks.named('test') {
useJUnitPlatform()
}