okbuck icon indicating copy to clipboard operation
okbuck copied to clipboard

The version 0.52.4 can't be found

Open ronnie-o-sullivan opened this issue 4 years ago • 4 comments

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 avatar Nov 22 '21 02:11 ronnie-o-sullivan

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

ronnie-o-sullivan avatar Nov 23 '21 07:11 ronnie-o-sullivan

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 avatar Dec 01 '21 21:12 jbduncan

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.

jbduncan avatar Dec 01 '21 21:12 jbduncan

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

kageiit avatar Dec 01 '21 23:12 kageiit