Javier
12/01/2023, 11:29 PMhfhbd
12/02/2023, 2:03 AMJavier
12/02/2023, 8:59 AMhfhbd
12/02/2023, 9:04 AMJavier
12/02/2023, 9:07 AMExecution failed for task ':hubdle-gradle-plugin:compileKotlin'.
> Could not resolve all files for configuration ':hubdle-gradle-plugin:compileClasspath'.
> Could not resolve app.cash.sqldelight:gradle-plugin:2.0.1.
Required by:
project :hubdle-gradle-plugin > app.cash.sqldelight:app.cash.sqldelight.gradle.plugin:2.0.1
Javier
12/02/2023, 9:08 AMJavier
12/02/2023, 9:09 AMhfhbd
12/02/2023, 9:10 AMmbonnin
12/02/2023, 6:43 PMJavier
12/02/2023, 6:46 PMhfhbd
12/02/2023, 6:46 PMJavier
12/02/2023, 6:47 PMhfhbd
12/02/2023, 6:48 PMJavier
12/02/2023, 7:03 PM> No matching variant of com.android.tools.build:gradle:8.2.0 was found. The consumer was configured to find a library for use during compile-time, compatible with Java 8, preferably in the form of class files, preferably optimized for standard JVMs, and its dependencies declared externally but:
- Variant 'apiElements' capability com.android.tools.build:gradle:8.2.0 declares a library for use during compile-time, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally:
- Incompatible because this component declares a component, compatible with Java 11 and the consumer needed a component, compatible with Java 8
hfhbd
12/02/2023, 7:04 PMJavier
12/02/2023, 7:05 PMhfhbd
12/02/2023, 7:09 PMmbonnin
12/02/2023, 7:09 PM$ ./gradlew assembleDebug
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/mbonnin/git/MyApplication3/app/build.gradle.kts' line: 1
* What went wrong:
An exception occurred applying plugin request [id: 'com.android.application', version: '8.3.0-alpha16']
> Failed to apply plugin 'com.android.internal.application'.
> Android Gradle plugin requires Java 17 to run. You are currently using Java 11.
Your current JDK is located in /Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home
You can try some of the following options:
- changing the IDE settings.
- changing the JAVA_HOME environment variable.
- changing `org.gradle.java.home` in `gradle.properties`.
mbonnin
12/02/2023, 7:10 PMJavier
12/02/2023, 7:10 PMmbonnin
12/02/2023, 7:10 PMmbonnin
12/02/2023, 7:11 PMmbonnin
12/02/2023, 7:11 PMmbonnin
12/02/2023, 7:13 PMmbonnin
12/02/2023, 7:13 PMJavier
12/02/2023, 7:14 PMJavier
12/02/2023, 7:16 PMJavier
12/02/2023, 7:16 PMmbonnin
12/02/2023, 7:19 PMmbonnin
12/02/2023, 7:19 PMmbonnin
12/02/2023, 7:20 PMmbonnin
12/02/2023, 7:20 PMJavier
12/02/2023, 7:24 PM