Skip to content

butlerPush Exception #13

@bthomas2622

Description

@bthomas2622
task (butlerPushWindows, type: org.mini2Dx.butler.task.PushTask) {
	binDirectory = "./build/jpackage/libgdx-cicd-testing"
	channel = "windows"
}

Every time I try to run my Butler Push task it fails with following exception:

> Task :lwjgl3:butlerPushWindows FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Some problems were found with the configuration of task ':lwjgl3:butlerPushWindows' (type 'PushTask').
  - Type 'PushTask' field 'binDirectory' without corresponding getter has been annotated with @Input.

    Reason: Annotations on fields are only used if there's a corresponding getter for the field.

    Possible solutions:
      1. Add a getter for field 'binDirectory'.
      2. Remove the annotations on 'binDirectory'.

    Please refer to https://docs.gradle.org/7.0/userguide/validation_problems.html#ignored_annotations_on_field for more details about this problem.
  - Type 'PushTask' field 'channel' without corresponding getter has been annotated with @Input.

    Reason: Annotations on fields are only used if there's a corresponding getter for the field.

    Possible solutions:
      1. Add a getter for field 'channel'.
      2. Remove the annotations on 'channel'.

    Please refer to https://docs.gradle.org/7.0/userguide/validation_problems.html#ignored_annotations_on_field for more details about this problem.

* 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

My butlerLogin and butlerUpdate gradle tasks succeed. It seems to have something to do with fact that I am running latest Gradle 7.0.2 are there any compatibility issues I can overcome? I've combed through google searches and it seems like this might only be a warning? But if so I can't tell why task failing.

Thanks for help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions