java-samples icon indicating copy to clipboard operation
java-samples copied to clipboard

'build.gradle.kts' should be 'build.gradle' in java API download

Open Adam-Color opened this issue 5 years ago • 0 comments

(Please fill out these details before submitting an issue)

Sample Name

(i.e. Gmail Quickstart) google classroom quickstart (java)

###context Was following instructions in https://developers.google.com/classroom/quickstart/java, however the program would fail to build in step 2.

Expected Behavior

when running:

gradle init --type basic

and

mkdir -p src/main/java src/main/resources

and

gradle run

expected program to build and then run and create token file

Actual Behavior

Build failed; due to 'build.gradle.kts' not being the correct file type. When I renamed it to simply be 'build.gradle', Quickstart would build and run correctly.

Specifications

  • Java version: 14.0.2
  • OS: Manjaro Linux

Adam-Color avatar Dec 24 '20 05:12 Adam-Color