com.matthewcasperson.build.Iridium.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of build Show documentation
Show all versions of build Show documentation
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
import com.matthewcasperson.build.services.impl.shared.*
import org.gradle.api.Plugin
import org.gradle.api.Project
/**
* A plugin used to build the main Iridium application. This plugin
* leave a lot of configuration to the build.gradle file, because
* things like dependencies and system properties passed through to
* the run command are not shared. Where functionality is shared
* (deploy to Sonatype, javadoc config etc) it is implemented here.
*/
class Iridium implements
Plugin,
ApplyPluginsImpl,
ConfigureJavaVersionImpl,
ConfigureMavenImpl,
SonatypePublishingImpl,
ConfigureJavadocImpl,
ConfigureArtifactsImpl,
ConfigureCheckstyleImpl,
ConfigureXercesVersionImpl{
void apply(Project project) {
applyPlugins(project);
configureXercesVersion(project);
configureCheckstyle(project);
configureArtifacts(project);
configureSonatypePublishing(project);
configureJavaVersion(project);
configureMaven(project);
configureJavadoc(project);
}
}