All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.matthewcasperson.build.services.impl.shared.ConfigureMavenImpl.groovy Maven / Gradle / Ivy

Go to download

A set of Gradle plugins that can be used to build and publish the various artifacts that make up Iridium

The newest version!
package com.matthewcasperson.build.services.impl.shared

import com.matthewcasperson.build.services.ConfigureMaven
import org.gradle.api.Project

/**
 * An implementation that is shared across Iridium projects to configure the various
 * maven repos that we will be using
 */
trait ConfigureMavenImpl implements ConfigureMaven {
    void configureMaven(Project project) {
        assert project != null;
        project.repositories {
            mavenCentral()
            mavenLocal()
            maven {
                url 'https://oss.sonatype.org/content/repositories/snapshots'
            }
            maven {
                url 'http://repository.springsource.com/maven/bundles/external'
            }
            maven {
                url 'https://maven.repository.redhat.com/ga/'
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy