bunq / sdk_java

Java SDK for bunq API
MIT License
47 stars 23 forks source link

Current master / develop branch don't compile #148

Open ZzAve opened 1 year ago

ZzAve commented 1 year ago

Steps to reproduce:

  1. Run ./gradlew clean build

What should happen:

  1. A successful build

What happens:

❯ gradle clean build
executing gradlew instead of gradle

> Task :compileJava
/Users/juliusvandis/IdeaProjects/Personal/sdk_java/src/main/java/com/bunq/sdk/model/generated/endpoint/CurrencyCloudBeneficiaryRequirement.java:53: error: cannot find symbol
  private List<CurrencyCloudBeneficiaryRequirementField> allField;
               ^
  symbol:   class CurrencyCloudBeneficiaryRequirementField
  location: class CurrencyCloudBeneficiaryRequirement
/Users/juliusvandis/IdeaProjects/Personal/sdk_java/src/main/java/com/bunq/sdk/model/generated/endpoint/CurrencyCloudBeneficiaryRequirement.java:97: error: cannot find symbol
  public List<CurrencyCloudBeneficiaryRequirementField> getAllField() {
              ^
  symbol:   class CurrencyCloudBeneficiaryRequirementField
  location: class CurrencyCloudBeneficiaryRequirement
/Users/juliusvandis/IdeaProjects/Personal/sdk_java/src/main/java/com/bunq/sdk/model/generated/endpoint/CurrencyCloudBeneficiaryRequirement.java:101: error: cannot find symbol
  public void setAllField(List<CurrencyCloudBeneficiaryRequirementField> allField) {
                               ^
  symbol:   class CurrencyCloudBeneficiaryRequirementField
  location: class CurrencyCloudBeneficiaryRequirement
Note: /Users/juliusvandis/IdeaProjects/Personal/sdk_java/src/main/java/com/bunq/sdk/security/SecurityUtils.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 errors

> Task :compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

* 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.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
See https://docs.gradle.org/4.8.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 4s
2 actionable tasks: 2 executed

Traceback

SDK version and environment

N/A

Response id

N/A

Extra info:

It seems that develop cannot be build for some time already. Earliest point I could find was 1.18.12.49. There might be some issue with the generated code and a automated build pipeline that 'just' updates the generated files, and performs a release, without running a full build?