bintray / gradle-bintray-plugin

Apache License 2.0
1.28k stars 197 forks source link

Not compatible with Gradle 7.0, throws warnings in Gradle 6.0.1 #307

Open nedtwigg opened 4 years ago

nedtwigg commented 4 years ago

When running on Gradle 6.0.1, I get these warnings:

> Task :bintrayUpload
Property 'dryRun' has redundant getters: 'getDryRun()' and 'isDryRun()'. This behaviour has been deprecated and is scheduled to be removed in Grad
le 7.0.
Property 'override' has redundant getters: 'getOverride()' and 'isOverride()'. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0.
Property 'packagePublicDownloadNumbers' has redundant getters: 'getPackagePublicDownloadNumbers()' and 'isPackagePublicDownloadNumbers()'. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0.
Property 'publish' has redundant getters: 'getPublish()' and 'isPublish()'. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0.
Property 'signVersion' has redundant getters: 'getSignVersion()' and 'isSignVersion()'. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0.
Property 'syncToMavenCentral' has redundant getters: 'getSyncToMavenCentral()' and 'isSyncToMavenCentral()'. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0.
Property 'cachedRepositories' is not annotated with an input or output annotation. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0.
Property 'configurationUploads' is not annotated with an input or output annotation. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0.
Property 'fileUploads' is not annotated with an input or output annotation. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0.
Property 'httpBuilder' is not annotated with an input or output annotation. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0.
Property 'packagePath' is not annotated with an input or output annotation. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0.
Property 'packagePublicDownloadNumbers' @Input properties with primitive type 'boolean' cannot be @Optional. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0.
Property 'publicationUploads' is not annotated with an input or output annotation. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0.
Property 'repositories' is not annotated with an input or output annotation. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0.
Property 'signVersion' @Input properties with primitive type 'boolean' cannot be @Optional. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0.
Property 'subject' is not annotated with an input or output annotation. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0.
Property 'syncToMavenCentral' @Input properties with primitive type 'boolean' cannot be @Optional. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0.
romeara commented 4 years ago

I am also seeing these exact warning outputs in Gradle 6.3, when using plug-in version 1.8.5 (latest at time of writing)

nedtwigg commented 4 years ago

As of early September, it looks like Gradle 6.7 will be released pretty soon, then 6.8, and possibly 7.0 after that. The warning is quite loud in recent versions of Gradle.

nedtwigg commented 3 years ago

6.8-rc-1 is published, and 7.0 has merged quite a few features and removals already. Is this plugin abandoned?

z3ntu commented 3 years ago

7.0 is out and the plugin doesn't work anymore.

  - Type 'BintrayUploadTask' property 'cachedRepositories' is missing an input or output annotation.

    Reason: A property without annotation isn't considered during up-to-date checking.

    Possible solutions:
      1. Add an input or output annotation.
      2. Mark it as @Internal.

    Please refer to https://docs.gradle.org/7.0/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - Type 'BintrayUploadTask' property 'configurationUploads' is missing an input or output annotation.

    Reason: A property without annotation isn't considered during up-to-date checking.

    Possible solutions:
      1. Add an input or output annotation.
      2. Mark it as @Internal.

    Please refer to https://docs.gradle.org/7.0/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - Type 'BintrayUploadTask' property 'fileUploads' is missing an input or output annotation.

    Reason: A property without annotation isn't considered during up-to-date checking.

    Possible solutions:
      1. Add an input or output annotation.
      2. Mark it as @Internal.

    Please refer to https://docs.gradle.org/7.0/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - Type 'BintrayUploadTask' property 'httpBuilder' is missing an input or output annotation.

    Reason: A property without annotation isn't considered during up-to-date checking.

    Possible solutions:
      1. Add an input or output annotation.
      2. Mark it as @Internal.

    Please refer to https://docs.gradle.org/7.0/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - Type 'BintrayUploadTask' property 'packagePath' is missing an input or output annotation.

    Reason: A property without annotation isn't considered during up-to-date checking.

    Possible solutions:
      1. Add an input or output annotation.
      2. Mark it as @Internal.

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