1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- // Set properties before any plugins get loaded
- ext {
- minJavaVersionForTests = JavaVersion.VERSION_1_8
- }
- apply from: "$rootDir/gradle/instrumentation.gradle"
- apply from: "$rootDir/gradle/test-with-scala.gradle"
- apply plugin: 'org.unbroken-dome.test-sets'
- testSets {
- latestDepTest {
- dirName = 'test'
- }
- }
- muzzle {
- // There are some weird library issues below 2.9 so can't assert inverse
- pass {
- group = 'com.twitter'
- module = 'finatra-http_2.11'
- versions = '[2.9.0,]'
- }
- pass {
- group = 'com.twitter'
- module = 'finatra-http_2.12'
- versions = '[2.9.0,]'
- }
- }
- dependencies {
- compileOnly group: 'com.twitter', name: 'finatra-http_2.11', version: '2.9.0'
- testImplementation project(':instrumentation:netty:netty-4.1')
- testImplementation group: 'com.twitter', name: 'finatra-http_2.11', version: '19.12.0'
- testImplementation(group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.10')
- // Required for older versions of finatra on JDKs >= 11
- testImplementation group: 'com.sun.activation', name: 'javax.activation', version: '1.2.0'
- latestDepTestImplementation project(':instrumentation:netty:netty-4.1')
- latestDepTestImplementation group: 'com.twitter', name: 'finatra-http_2.11', version: '20.6.+'
- latestDepTestImplementation(group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.11.0')
- }
- compileLatestDepTestGroovy {
- classpath = classpath.plus(files(compileLatestDepTestScala.destinationDir))
- dependsOn compileLatestDepTestScala
- }
|