Add Pulsar 4.0.x compatibility tests (#967)
Adds the ability to specify the Pulsar client version when running the samples apps. Uses this new capability to add entries to the check-samples.yml compatability test matrix to include Pulsar 4.0.x. See #923
This commit is contained in:
@@ -11,7 +11,7 @@ repositories {
|
||||
}
|
||||
|
||||
def versionCatalog = extensions.getByType(VersionCatalogsExtension).named("libs")
|
||||
def pulsarVersion = versionCatalog.findVersion("pulsar").orElseThrow().displayName
|
||||
def pulsarVersion = project.properties['pulsarVersion'] ?: versionCatalog.findVersion("pulsar").orElseThrow().displayName
|
||||
|
||||
dependencies {
|
||||
implementation "org.apache.pulsar:pulsar-client-all:${pulsarVersion}"
|
||||
|
||||
Reference in New Issue
Block a user