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

Fix CDP configuration in Gradle #225

Closed
michel-tricot opened this issue Sep 11, 2020 · 1 comment
Closed

Fix CDP configuration in Gradle #225

michel-tricot opened this issue Sep 11, 2020 · 1 comment
Labels
type/bug Something isn't working

Comments

@michel-tricot
Copy link
Contributor

Expected Behavior

CDP shouldn't throw warning

Current Behavior

CDP throws of warnings:

WARNING: Due to the absence of 'LifecycleBasePlugin' on project ':dataline-analytics' the task ':cpdCheck' could not be added to task graph. Therefore CPD will not be executed. To prevent this, manually add a task dependency of ':cpdCheck' to a 'check' task of a subproject.
1) Directly to project ':dataline-integrations:singer:bigquery:destination':
    check.dependsOn(':cpdCheck')
2) Indirectly, e.g. via project ':dataline-analytics':
    project(':dataline-integrations:singer:bigquery:destination') {
        plugins.withType(LifecycleBasePlugin) { // <- just required if 'java' plugin is applied within subproject
            check.dependsOn(cpdCheck)
        }
    }

Steps to Reproduce

  1. Just run build within a subproject: ./gradlew :dataline-server:build

Severity of the bug for you

Very low

@cgardens
Copy link
Contributor

@michel-tricot finished this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants