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

Configure tasks that need "embulkPluginExtension" only when they are needed #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Aug 23, 2019

  1. Configure tasks that need "embulkPluginExtension" only when they are …

    …needed
    
    "EmbulkPluginExtension" has been always validated when running Gradle so that
    the "jar" and "gem" tasks can use the extension values.
    
    The validation has been sometimes annoying, however. For example, just running
    "./gradlew wrapper --gradle-version=5.6" does not work if "build.gradle" does
    not contain "embulkPlugin { ... }" configured properly.
    
    This commit makes the validation lazy so that it works only when the "jar" or
    "gem" tasks are executed, by externaizing the initializer methods into separate
    tasks, and getting them executed by the "dependsOn" mechanism of Gradle.
    
    It adds task groups and descriptions, and bumps up to 0.2.6-SNAPSHOT along with
    the change.
    dmikurube committed Aug 23, 2019
    Configuration menu
    Copy the full SHA
    9af7580 View commit details
    Browse the repository at this point in the history