Skip to content

Can't figure out how to use okbuck with autovalue on a Java project #883

@msridhar

Description

@msridhar

Example:

https://github.com/msridhar/okbuck-ep-test/tree/autovalue

Clone the repo and check out the autovalue branch. If you run ./gradlew :module:compileJava, things run fine. But if you try to run ./gradlew :module:okbuck -Dokbuck.wrapper=true you get an error:

Execution failed for task ':module:okbuck'.
> autoValueConfigurations should be present if adding autoValue dependencies. missing: [DefaultExternalModuleDependency{group='com.google.auto.value', name='auto-value', version='1.6.6', configuration='default'}]

I tried copying over the config from the v0.48.2 release notes (see the top-level build.gradle) but that didn't seem to remove the error. Any suggestions on how I can get this working? @kageiit

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