Class SpringRepositoryPlugin
java.lang.Object
org.springframework.gradle.repository.SpringRepositoryPlugin
- All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>
public abstract class SpringRepositoryPlugin
extends Object
implements org.gradle.api.Plugin<org.gradle.api.Project>
Adds the Maven repositories needed to resolve Spring dependencies, in this order:
mavenLocal, whenforceMavenRepositoriescontainslocal- Maven Central
- the release train repository, when
RELEASE_TRAIN_MAVEN_REPOSITORY_URLis set - the Spring snapshot, milestone and release repositories
- the repositories for a non-OSS
releaseChannel
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SpringRepositoryPlugin
public SpringRepositoryPlugin()
-
-
Method Details
-
apply
public void apply(org.gradle.api.Project project) - Specified by:
applyin interfaceorg.gradle.api.Plugin<org.gradle.api.Project>
-