Skip to content

Improve UX when reporting warnings #35

@lacasseio

Description

@lacasseio

The warnings are reported when the version is resolved this can happen at various points in time typically when a plugin is being resolved. Instead, we should most likely resolve the version once with warnings when settings is finish evaluated.

Current UX:

$ gradlew nokee --show-version

> Configure project :static_lib
WARNING: version '0.4.0' (from cache file) overrides version '0.5.0-12c22234' (from Gradle wrapper property).

> Task :nokee
Build ':' using Nokee version '0.5.0-12c22234' (from build classpath).

Expected UX:

$ gradlew nokee --show-version

> Configure project :
WARNING: version '0.4.0' (from cache file) overrides version '0.5.0-12c22234' (from Gradle wrapper property).

> Task :nokee
Build ':' using Nokee version '0.5.0-12c22234' (from build classpath).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions