When building the Kotlin code base an error is encountered on a missing tool chain dependency:
Copy code
Could not determine the dependencies of task ':kotlin-stdlib:compileMainJdk7Kotlin'.
> Unable to download toolchain matching the requirements ({languageVersion=7, vendor=any, implementation=vendor-specific}) from '<https://api.foojay.io/disco/v3.0/ids/45dfb704e8dcceab434285501d74cd33/redirect>'.
> Provisioned toolchain '/home/napperley/.gradle/jdks/zing20/zing20.09.1.0-1-jdk7.0.272-linux_x64' could not be probed.
Is there a way to resolve the issue?
r
Rob Elliot
02/23/2023, 11:07 PM
Did you intend Java 17 rather than 7?
🚫 1
n
napperley
02/24/2023, 10:01 PM
Java 7 still remains a dependency in the Kotlin code base, hence JDK 7 is required in order to build the code base. I am trying to build the Kotlin code base in order to add an unofficial Kotlin target (for the RP2040 chip - https://www.raspberrypi.com/documentation/microcontrollers/rp2040.html ).