Transmode / gradle-docker

A Gradle plugin to build Docker images from the build script.
Apache License 2.0
648 stars 142 forks source link

is this plugin not in the official gradle plugin repo? #146

Closed logemann closed 4 years ago

logemann commented 6 years ago

I would like to use the

plugins { }

syntax in the gradle build file.

lemix-cg commented 6 years ago

Workaround: settings.gradle:

pluginManagement {
    resolutionStrategy {
        eachPlugin {
            switch (requested.id.id) {
                case 'gradle-docker':
                    useModule 'se.transmode.gradle:gradle-docker:1.2'
                    break
            }
        }
    }
    repositories {
        gradlePluginPortal()
        mavenCentral()
        jcenter()
    }
}
bjornmagnusson commented 6 years ago

@lemix-cg That´s great input. Would you mind open a PR to add this workaround to the README?