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

package com.matthewcasperson.build.services.impl.shared

import com.matthewcasperson.build.services.ConfigureMaven
import org.gradle.api.Project
import org.gradle.api.tasks.bundling.Jar

/**
 * An implementation that is shared across APIOmega 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'
            }
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy