Sonatype OSS

Uploads all artifacts belonging to configuration ':archives'.

License

License

Categories

Categories

Gradle Build Tools
GroupId

GroupId

org.ajoberstar
ArtifactId

ArtifactId

gradle-plugins
Last Version

Last Version

0.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

Sonatype OSS
Uploads all artifacts belonging to configuration ':archives'.
Project URL

Project URL

http://github.com/ajoberstar/gradle-plugins
Source Code Management

Source Code Management

http://github.com/ajoberstar/gradle-plugins

Download gradle-plugins

How to add to project

<!-- https://jarcasting.com/artifacts/org.ajoberstar/gradle-plugins/ -->
<dependency>
    <groupId>org.ajoberstar</groupId>
    <artifactId>gradle-plugins</artifactId>
    <version>0.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.ajoberstar/gradle-plugins/
implementation 'org.ajoberstar:gradle-plugins:0.1.1'
// https://jarcasting.com/artifacts/org.ajoberstar/gradle-plugins/
implementation ("org.ajoberstar:gradle-plugins:0.1.1")
'org.ajoberstar:gradle-plugins:jar:0.1.1'
<dependency org="org.ajoberstar" name="gradle-plugins" rev="0.1.1">
  <artifact name="gradle-plugins" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.ajoberstar', module='gradle-plugins', version='0.1.1')
)
libraryDependencies += "org.ajoberstar" % "gradle-plugins" % "0.1.1"
[org.ajoberstar/gradle-plugins "0.1.1"]

Dependencies

test (1)

Group / Artifact Type Version
junit : junit jar 4.8.2

Project Modules

There are no modules declared in this project.

gradle-plugins

Maintainer Status

A set of plugins for the Gradle build tool. They are available through Maven Central.

The existing plugins are:

  • Findbugs
  • JDepend
  • PMD

v0.1.1 was tested against 1.0-milestone-3

These have been contributed to Gradle and will be included in the 1.0-milestone-8 release. They will no longer be supported through this project, though I may add other plugins at some point.


Adding the Plugins

Add the following block to your build to use the gradle-plugins JAR.

buildscript {
    repositories { mavenCentral() }
    dependencies { classpath group:'org.ajoberstar', name:'gradle-plugins', version:'0.1.1' }
}

Using the Plugins

All 3 plugins require the tools to be included in their respective configurations.

apply plugin: 'findbugs'
apply plugin: 'jdepend'
apply plugin: 'pmd'

convention.plugins.pmd.rulesets 'rulesets/basic.xml', 'rulesets/other.xml'

dependencies {
    findbugs group:'com.google.code.findbugs', name:'findbugs', version:'1.3.9'
    findbugs group:'com.google.code.findbugs', name:'findbugs-ant', version:'1.3.9'
    
    pmd group:'pmd', name:'pmd', version:'4.2.5'	
    
    jdepend group:'jdepend', name:'jdepend', version:'2.9.1'
    jdepend group:'org.apache.ant', name:'ant-jdepend', version:'1.7.1'	
}

Each plugin generates a task per source set dependent on the check task.


Release Notes

v0.1.0

  • Initial release.

v0.1.1

  • Improved up to date checking.
  • Defaulting PMD plugin to look for configuration in config/pmd/rulesets.xml.

Versions

Version
0.1.1
0.1.0