Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java 17 not working #72

Open
SledgeHammer01 opened this issue Nov 13, 2022 · 1 comment
Open

Java 17 not working #72

SledgeHammer01 opened this issue Nov 13, 2022 · 1 comment

Comments

@SledgeHammer01
Copy link

Hi, I am having the same issue as here:

#67

I created the system gradle.properties file as described, but the plugin is still failing and all files report syntax errors

  • Windows 10 Pro x64
  • IntelliJ 2021.3
  • Using gradle wrapper if that makes a difference
  • gradle.properties is in the root of my project

java 17.0.5 2022-10-18 LTS
Java(TM) SE Runtime Environment (build 17.0.5+9-LTS-191)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.5+9-LTS-191, mixed mode, sharing)


Gradle 7.5

Build time: 2022-07-14 12:48:15 UTC
Revision: c7db7b958189ad2b0c1472b6fe663e6d654a5103

Kotlin: 1.6.21
Groovy: 3.0.10
Ant: Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM: 17.0.5 (Oracle Corporation 17.0.5+9-LTS-191)
OS: Windows 10 10.0 amd64

@borisf
Copy link

borisf commented Feb 25, 2023

Setting the proper google-java-format version (in build.gradle.kts) worked for me

googleJavaFormat {
    toolVersion = "1.1"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants