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

Execution failed for task ':compileJava'. > warning: source release 18 requires target release 18 #247

Open
hectess opened this issue Jul 13, 2022 · 0 comments
Assignees

Comments

@hectess
Copy link

hectess commented Jul 13, 2022

Summary

I'm following the tutorial from https://developers.google.com/sheets/api/quickstart/java and when I execute the "gradle run" command y receive this error:

C:\Users\heratess\Documents\Kuflow\gsheets>gradle run

Task :compileJava FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':compileJava'.

warning: source release 18 requires target release 18

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 629ms
1 actionable task: 1 executed

Sample Name

(i.e. Sheets Quickstart)

Expected Behavior

Actual Behavior

Specifications

  • Java version
    java version "18.0.1.1" 2022-04-22
    Java(TM) SE Runtime Environment (build 18.0.1.1+2-6)
    Java HotSpot(TM) 64-Bit Server VM (build 18.0.1.1+2-6, mixed mode, sharing))
  • OS (Windows 10)
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