mirror of
https://github.com/square/okhttp.git
synced 2026-01-12 10:23:16 +03:00
Resolve JDKs if necessary (#8173)
* Resolve JDKs if necessary
Without this, developers need to prepare their environments or they
might see failures like this:
Execution failed for task ':okhttp-idna-mapping-table:test'.
> Error while evaluating property 'javaLauncher' of task ':okhttp-idna-mapping-table:test'.
> Failed to calculate the value of task ':okhttp-idna-mapping-table:test' property 'javaLauncher'.
> No matching toolchains found for requested specification: {languageVersion=21, vendor=any, implementation=vendor-specific} for MAC_OS on aarch64.
> No locally installed toolchains match and toolchain download repositories have not been configured.
* Update settings.gradle.kts
Co-authored-by: Jake Wharton <jakew@google.com>
---------
Co-authored-by: Jake Wharton <jakew@google.com>
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
rootProject.name = "okhttp-parent"
|
||||
|
||||
plugins {
|
||||
id("org.gradle.toolchains.foojay-resolver-convention") version("0.7.0")
|
||||
}
|
||||
|
||||
include(":mockwebserver")
|
||||
project(":mockwebserver").name = "mockwebserver3"
|
||||
include(":mockwebserver-deprecated")
|
||||
|
||||
Reference in New Issue
Block a user