I am attempting to run the command gradlew setupDecompWorkspace in the command prompt. I expect it to be run fully and properly.
When I run gradlew setupDecompWorkspace the build immediately fails and the issue is stated as being the one in the title, Could not determine java version from '12.0.2'.
As stated above, I am attempting to run the command gradlew setupDecompWorkspace in the command prompt, but it fails with the stated exception whenever I do. I have updated Gradle to the version 5.1.1 and have likewise updated the Gradle Wrapper using the command gradle wrapper --gradle-version 5.1.1 in the command prompt, and yet the build still fails. How do I best go about fixing or circumventing this problem?
Stack Overflow has the answer you are looking for here.
Next time you need help with Gradle, you should probably ask in either Stack Overflow (with the Gradle tag) or in the Gradle forums :)