Configuring com.palantir.docker tag at Execution Phase: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 6: Line 6:


=Identify the Plugin Library=
=Identify the Plugin Library=
The plugin is declared as follows in a regular sub-project build.gradle:
<syntaxhighlight lang='groovy'>
plugins {
    // some 'com.palantir.docker' plugin classes are used by this project's Gradle extensions,
    // defined in buildSrc, so plugin libraries are declared as buildSrc dependencies, and the
    // plugin version is defined there. See buildSrc/build.gradle.
    id "com.palantir.docker"
}
</syntaxhighlight>
=Configure <tt>buildSrc</tt> <tt>build.gradle</tt>=
=Configure <tt>buildSrc</tt> <tt>build.gradle</tt>=

Revision as of 03:01, 11 November 2020

Internal

Overview

This is an example of a custom task that configures the

Identify the Plugin Library

The plugin is declared as follows in a regular sub-project build.gradle:

plugins {
    // some 'com.palantir.docker' plugin classes are used by this project's Gradle extensions,
    // defined in buildSrc, so plugin libraries are declared as buildSrc dependencies, and the 
    // plugin version is defined there. See buildSrc/build.gradle.
    id "com.palantir.docker"
}

Configure buildSrc build.gradle