Describe the bug
When trying to build FTCLib from a clean checkout of the dev branch, I am unable to do so because I get an IllegalAccessError.
To Reproduce
Steps to reproduce the behavior:
- Clone the FTCLib repository from github
- Checkout the dev branch
- Select JDK 1.8 as the Gradle JDK in Android Studio settings
- Run
.\gradlew.bat :core:clean :core:build
- Build fails with an IllegalAccessError
Expected behavior
Build completes successfully.
Full error message
java.lang.IllegalAccessError: class org.gradle.internal.compiler.java.ClassNameCollector (in unnamed module @0x747d433c) cannot access class com.sun.tools.javac.code.Symbol$TypeSymbol (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.code to unnamed module @0x747d433c
Additional context
When attempting to build using WSL, it works without any problems.
- OS: Windows 10 Build 19045.4170
- Android Studio Version: 2023.1.1 Patch 2
- JDK Version: Amazon Corretto 1.8
Describe the bug
When trying to build FTCLib from a clean checkout of the dev branch, I am unable to do so because I get an IllegalAccessError.
To Reproduce
Steps to reproduce the behavior:
.\gradlew.bat :core:clean :core:buildExpected behavior
Build completes successfully.
Full error message
Additional context
When attempting to build using WSL, it works without any problems.