34 lines
1.1 KiB
Groovy
34 lines
1.1 KiB
Groovy
plugins {
|
|
id 'org.springframework.pulsar.spring-module'
|
|
id 'org.springframework.boot' version '3.0.5'
|
|
}
|
|
|
|
description = 'Spring Pulsar Sample Applications (Custom Routing)'
|
|
|
|
dependencies {
|
|
implementation project(':spring-pulsar-spring-boot-starter')
|
|
implementation 'com.google.code.findbugs:jsr305'
|
|
|
|
// observability
|
|
implementation 'org.springframework.boot:spring-boot-starter-actuator'
|
|
implementation 'io.micrometer:micrometer-tracing-bridge-brave'
|
|
implementation 'io.zipkin.reporter2:zipkin-reporter-brave'
|
|
implementation 'io.zipkin.reporter2:zipkin-sender-urlconnection'
|
|
}
|
|
|
|
bootRun {
|
|
jvmArgs = [
|
|
"--add-opens", "java.base/java.lang=ALL-UNNAMED",
|
|
"--add-opens", "java.base/java.util=ALL-UNNAMED",
|
|
"--add-opens", "java.base/sun.net=ALL-UNNAMED"
|
|
]
|
|
}
|
|
|
|
project.afterEvaluate {
|
|
project.tasks.publishArtifacts.enabled(false)
|
|
project.tasks.artifactoryPublish.enabled(false)
|
|
project.tasks.publishToOssrh.enabled(false)
|
|
project.tasks.publishMavenJavaPublicationToOssrhRepository.enabled(false)
|
|
project.tasks.publishAllPublicationsToOssrhRepository.enabled(false)
|
|
}
|