Skip to content

LaunchProtoData should clean the output dir only when needed #21

Open
@alexander-yevsyukov

Description

@alexander-yevsyukov

Now it does all the time:

internal fun setPreLaunchCleanup() {
    doFirst(CleanAction())
}

This forces the users always perform ./gradlew clean build. The clean task call is required to invalidate the input for generateProto task, which produces the input for launchProtoData. Otherwise, we end up with an empty target directory, which, in turn, breaks the compilation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions