What went wrong:
Could not determine java version from '14.0.1'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
本地版本:
java 14.0.1 2020-04-14
Java(TM) SE Runtime Environment (build 14.0.1+7)
Java HotSpot(TM) 64-Bit Server VM (build 14.0.1+7, mixed mode, sharing)
Gradle 6.1.1
Build time: 2020-01-24 22:30:24 UTC
Revision: a8c3750babb99d1894378073499d6716a1a1fa5d
Kotlin: 1.3.61
Groovy: 2.5.8
Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019
JVM: 14.0.1 (Oracle Corporation 14.0.1+7)
OS: Mac OS X 10.15.1 x86_64
Enter menu:
FAILURE: Build failed with an exception.
What went wrong: Could not determine java version from '14.0.1'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
本地版本: java 14.0.1 2020-04-14 Java(TM) SE Runtime Environment (build 14.0.1+7) Java HotSpot(TM) 64-Bit Server VM (build 14.0.1+7, mixed mode, sharing)
Gradle 6.1.1
Build time: 2020-01-24 22:30:24 UTC Revision: a8c3750babb99d1894378073499d6716a1a1fa5d
Kotlin: 1.3.61 Groovy: 2.5.8 Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019 JVM: 14.0.1 (Oracle Corporation 14.0.1+7) OS: Mac OS X 10.15.1 x86_64