jib icon indicating copy to clipboard operation
jib copied to clipboard

Simplified Jib plugin extension configuration

Open chanseokoh opened this issue 4 years ago • 2 comments

When using a single extension that doesn't define an extension-specific config, the user currently has to put quite some block into the build file.

  • Maven
      <pluginExtensions>
        <pluginExtension>
          <implementation>com.example.Foo</implementation>
        </pluginExtension>
      </pluginExtensions>
  • Gradle
  pluginExtensions {
    pluginExtension {
      implementation = 'com.example.Foo'
    }
  }

It'd be nice if they could do

      <pluginExtensions>com.example.Foo</pluginExtensions>
  pluginExtensions = 'com.example.Foo'

or the following if the above doesn't make sense:

      <pluginExtensions>
        <!-- element names in a list doesn't matter in Maven -->
        <extension>com.example.Foo</extension>
        <anotherExtension>com.example.Bar</anotherExtension>
      </pluginExtensions>
  pluginExtensions = ['com.example.Foo']

chanseokoh avatar Jun 10 '20 15:06 chanseokoh

Hi, I am new to this space and would like to take up this task and contribute to this project

saptaswapal avatar Apr 18 '21 06:04 saptaswapal

@Sap1996 thanks! Please have a look at #3214.

chanseokoh avatar Apr 19 '21 14:04 chanseokoh