* What went wrong:
Execution failed for task ':compileKotlin'.
> Kotlin could not find the required JDK tools in the Java installation 'C:\Program Files\Java\jre1.8.0_211' used by Gradle. Make sure Gradle is running on a JDK, not JRE.
C:\>dir "C:\Program Files\Java\"
....
05/14/2019 09:58 AM <DIR> .
05/14/2019 09:58 AM <DIR> ..
03/04/2019 09:39 PM <DIR> jdk-11.0.2
03/04/2019 09:29 PM <DIR> jdk1.8.0_201
05/12/2019 08:32 PM <DIR> jre1.8.0_211
.....
C:\>
I added the following line to the gradle.properties file, and the problem went away,
org.gradle.java.home=C:\\Program Files\\Java\\jdk1.8.0_201