43 lines
1.2 KiB
Groovy
43 lines
1.2 KiB
Groovy
// Set properties before any plugins get loaded
|
|
ext {
|
|
minJavaVersionForTests = JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
apply from: "$rootDir/gradle/instrumentation.gradle"
|
|
|
|
muzzle {
|
|
// Version 2.7.5 and 2.7.8 were not released properly and muzzle cannot test against it causing failure.
|
|
// So we have to skip them resulting in this verbose setup.
|
|
pass {
|
|
group = 'com.couchbase.client'
|
|
module = 'java-client'
|
|
versions = "[2.0.0,2.7.5)"
|
|
}
|
|
pass {
|
|
group = 'com.couchbase.client'
|
|
module = 'java-client'
|
|
versions = "[2.7.6,2.7.8)"
|
|
}
|
|
pass {
|
|
group = 'com.couchbase.client'
|
|
module = 'java-client'
|
|
versions = "[2.7.9,3.0.0)"
|
|
}
|
|
fail {
|
|
group = 'com.couchbase.client'
|
|
module = 'couchbase-client'
|
|
versions = "(,)"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':instrumentation:rxjava-1.0')
|
|
|
|
library group: 'com.couchbase.client', name: 'java-client', version: '2.0.0'
|
|
|
|
testImplementation project(':instrumentation:couchbase:couchbase-testing')
|
|
|
|
latestDepTestLibrary group: 'org.springframework.data', name: 'spring-data-couchbase', version: '3.+'
|
|
latestDepTestLibrary group: 'com.couchbase.client', name: 'java-client', version: '2.+'
|
|
}
|