1
0
mirror of https://github.com/square/okhttp.git synced 2025-04-19 07:42:15 +03:00

Move tests from okhttp-tests/src/test/java to okhttp/src/test/java

The previous module structure was necessary because Maven wouldn't allow
mockwebserver to depend on okhttp/src and for okhttp/test to depend on
mockwebserver. With Gradle this constraint is lifted and we can fold
everything into a single module.

I'm in a rush to do this now because it's necessary for Kotlin 'internal'
tests to be in the same module.
This commit is contained in:
Jesse Wilson 2019-03-25 21:01:32 -05:00
parent b650c4e954
commit 9837fea768
95 changed files with 8 additions and 14 deletions

View File

@ -1,13 +0,0 @@
dependencies {
testImplementation deps.okio
testImplementation project(':okhttp')
testImplementation project(':okhttp-testing-support')
testImplementation project(':okhttp-tls')
testImplementation project(':okhttp-urlconnection')
testImplementation project(':mockwebserver')
testImplementation project(':okhttp-logging-interceptor')
testImplementation deps.conscrypt
testImplementation deps.junit
testImplementation deps.assertj
testCompileOnly deps.jsr305
}

View File

@ -29,8 +29,16 @@ dependencies {
compileOnly deps.jsr305
compileOnly deps.animalSniffer
testImplementation deps.okio
testImplementation project(':okhttp-testing-support')
testImplementation project(':okhttp-tls')
testImplementation project(':okhttp-urlconnection')
testImplementation project(':mockwebserver')
testImplementation project(':okhttp-logging-interceptor')
testImplementation deps.conscrypt
testImplementation deps.junit
testImplementation deps.assertj
testCompileOnly deps.jsr305
}
apply plugin: 'me.champeau.gradle.japicmp'

View File

@ -6,7 +6,6 @@ include ':okhttp-hpacktests'
include ':okhttp-logging-interceptor'
include ':okhttp-sse'
include ':okhttp-testing-support'
include ':okhttp-tests'
include ':okhttp-tls'
include ':okhttp-urlconnection'
include ':samples:crawler'