43 lines
1.0 KiB
Groovy
43 lines
1.0 KiB
Groovy
apply plugin: 'version-scan'
|
|
|
|
versionScan {
|
|
group = "com.squareup.okhttp3"
|
|
module = "okhttp"
|
|
versions = "[3.0,)"
|
|
legacyGroup = "com.squareup.okhttp"
|
|
verifyPresent = [
|
|
"okhttp3.Cookie" : null,
|
|
"okhttp3.ConnectionPool": null,
|
|
"okhttp3.Headers" : null,
|
|
]
|
|
}
|
|
|
|
apply from: "${rootDir}/gradle/java.gradle"
|
|
|
|
// These classes use Ratpack which requires Java 8. (Currently also incompatible with Java 9.)
|
|
testJava8Only += '**/OkHttp3Test.class'
|
|
|
|
apply plugin: 'org.unbroken-dome.test-sets'
|
|
|
|
testSets {
|
|
latestDepTest {
|
|
dirName = 'test'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly group: 'com.squareup.okhttp3', name: 'okhttp', version: '3.0.0'
|
|
|
|
compile project(':dd-java-agent:agent-tooling')
|
|
|
|
compile deps.bytebuddy
|
|
compile deps.opentracing
|
|
annotationProcessor deps.autoservice
|
|
implementation deps.autoservice
|
|
|
|
testCompile project(':dd-java-agent:testing')
|
|
testCompile group: 'com.squareup.okhttp3', name: 'okhttp', version: '3.0.0'
|
|
|
|
latestDepTestCompile group: 'com.squareup.okhttp3', name: 'okhttp', version: '+'
|
|
}
|