我正在尝试在 Bamboo 上构建服务并使用 gradle 构建工具,但出现以下错误:
error 26-Apr-2022 16:48:02 > Failed to calculate the value of task ':compileJava' property 'javaCompiler'.
error 26-Apr-2022 16:48:02 > Unable to download toolchain matching these requirements: {languageVersion=17, vendor=any, implementation=vendor-specific}
error 26-Apr-2022 16:48:02 > Could not GET 'https://api.adoptopenjdk.net/v3/binary/latest/17/ga/linux/x64/jdk/hotspot/normal/adoptopenjdk'.
error 26-Apr-2022 16:48:02 > Connection reset
谢谢 阿努帕姆
在build.gradle.kts中尝试
科特林{ jvm工具链(17) }