代码拉取完成,页面将自动刷新
rootProject.name = "okhttp-parent"
include(":mockwebserver")
project(":mockwebserver").name = "mockwebserver3"
include(":mockwebserver-deprecated")
project(":mockwebserver-deprecated").name = "mockwebserver"
include(":mockwebserver-junit4")
project(":mockwebserver-junit4").name = "mockwebserver3-junit4"
include(":mockwebserver-junit5")
project(":mockwebserver-junit5").name = "mockwebserver3-junit5"
val androidBuild: String by settings
val graalBuild: String by settings
val loomBuild: String by settings
if (androidBuild.toBoolean()) {
include(":regression-test")
}
if (graalBuild.toBoolean()) {
include(":native-image-tests")
}
include(":okcurl")
include(":okhttp")
include(":okhttp-bom")
include(":okhttp-brotli")
include(":okhttp-dnsoverhttps")
include(":okhttp-hpacktests")
include(":okhttp-idna-mapping-table")
include(":okhttp-logging-interceptor")
project(":okhttp-logging-interceptor").name = "logging-interceptor"
include(":okhttp-sse")
include(":okhttp-testing-support")
include(":okhttp-tls")
include(":okhttp-coroutines")
include(":okhttp-urlconnection")
include(":samples:compare")
include(":samples:crawler")
include(":samples:guide")
include(":samples:simple-client")
include(":samples:slack")
include(":samples:static-server")
include(":samples:tlssurvey")
include(":samples:unixdomainsockets")
if (isIdea20232OrHigher()) {
include(":okhttp-android")
include(":android-test")
}
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
fun isIdea20232OrHigher(): Boolean {
// No problem outside Idea
val ideaVersionString = System.getProperty("idea.version") ?: return true
return try {
val (major, minor, _) = ideaVersionString.split(".", limit = 3)
KotlinVersion(major.toInt(), minor.toInt()) >= KotlinVersion(2023, 2)
} catch (e: Exception) {
// Unknown version, presumably compatible
true
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。