1
0
mirror of https://github.com/square/okhttp.git synced 2025-07-31 05:04:26 +03:00

Switch back to the kotlin JVM plugin (#8149)

* Switch back to the kotlin JVM plugin

This does a ton of file moves from jvmMain to main, and jvmTest to test.

* Don't use AnimalSniffer on okcurl

* Use assertk more (#8150)
This commit is contained in:
Jesse Wilson
2023-12-20 18:27:07 -05:00
committed by GitHub
parent 6b7b611308
commit c056530682
397 changed files with 260 additions and 325 deletions

View File

@ -25,6 +25,7 @@ dependencies {
testImplementation(projects.okhttpTestingSupport)
testImplementation(projects.okhttpTls)
testImplementation(libs.assertj.core)
testImplementation(libs.assertk)
}
mavenPublishing {

View File

@ -15,9 +15,11 @@
*/
package okhttp3.logging
import assertk.assertThat
import assertk.assertions.isFalse
import assertk.assertions.isTrue
import okhttp3.logging.internal.isProbablyUtf8
import okio.Buffer
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
class IsProbablyUtf8Test {