1 Star 0 Fork 0

harry2815/okhttp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
settings.gradle.kts 1.81 KB
一键复制 编辑 原始数据 按行查看 历史
Yuri Schimke 提交于 2023-07-09 12:08 . AGP 8 (#7918)
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
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/harry2815/okhttp.git
git@gitee.com:harry2815/okhttp.git
harry2815
okhttp
okhttp
master

搜索帮助