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

The version 0.52.4 can't be found #954

Open
ronnie-o-sullivan opened this issue Nov 22, 2021 · 4 comments
Open

The version 0.52.4 can't be found #954

ronnie-o-sullivan opened this issue Nov 22, 2021 · 4 comments

Comments

@ronnie-o-sullivan
Copy link

There is "classpath 'com.uber:okbuck:0.52.4'" in README doc,but the version 0.52.4 can't be found.

@ronnie-o-sullivan
Copy link
Author

ronnie-o-sullivan commented Nov 23, 2021

Can you publish a new version base on latest code ? Please !

@jbduncan
Copy link

jbduncan commented Dec 1, 2021

I'm experiencing this too. Here's the error I get:

A problem occurred configuring root project 'okbuck-not-found-repro'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not find com.uber:okbuck:0.52.4.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/uber/okbuck/0.52.4/okbuck-0.52.4.pom
       - https://jcenter.bintray.com/com/uber/okbuck/0.52.4/okbuck-0.52.4.pom
     Required by:
         project :

Here is a minimal reproduction: https://github.com/jbduncan/okbuck-not-found-repro

@jbduncan
Copy link

jbduncan commented Dec 1, 2021

I'm unable to downgrade to OkBuck 0.52.3 because the original project I discovered this error in, a private Android project, uses Gradle 7.2, which isn't supported by OkBuck.

The error I see when I try to downgrade to 0.52.3 and run ./gradlew :buckWrapper in the minimal reproduction (which uses Gradle 7.3.1) is as follows:

❯ ./gradlew :buckWrapper
> Task :buckWrapper FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Some problems were found with the configuration of task ':buckWrapper' (type 'BuckWrapperTask').
  - In plugin 'com.uber.okbuck' type 'com.uber.okbuck.wrapper.BuckWrapperTask' field 'ignoredDirs' 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 'ignoredDirs'.
      2. Remove the annotations on 'ignoredDirs'.
    
    Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#ignored_annotations_on_field for more details about this problem.
  - In plugin 'com.uber.okbuck' type 'com.uber.okbuck.wrapper.BuckWrapperTask' field 'repo' 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 'repo'.
      2. Remove the annotations on 'repo'.
    
    Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#ignored_annotations_on_field for more details about this problem.
  - In plugin 'com.uber.okbuck' type 'com.uber.okbuck.wrapper.BuckWrapperTask' field 'sourceRoots' 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 'sourceRoots'.
      2. Remove the annotations on 'sourceRoots'.
    
    Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#ignored_annotations_on_field for more details about this problem.
  - In plugin 'com.uber.okbuck' type 'com.uber.okbuck.wrapper.BuckWrapperTask' field 'watch' 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 'watch'.
      2. Remove the annotations on 'watch'.
    
    Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#ignored_annotations_on_field for more details about this problem.
  - In plugin 'com.uber.okbuck' type 'com.uber.okbuck.wrapper.BuckWrapperTask' property 'description' 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.2/userguide/validation_problems.html#missing_annotation for more details about this problem.

@kageiit
Copy link
Contributor

kageiit commented Dec 1, 2021

cc @nikhilramakrishnan who cut versions recently. Lets make sure to update version number if we didnt release externally yet

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

3 participants