gradle-walkmod-plugin

gradle plugin to run walkmod

License

License

Categories

Categories

Gradle Build Tools
GroupId

GroupId

org.walkmod
ArtifactId

ArtifactId

gradle-walkmod-plugin
Last Version

Last Version

0.0.3
Release Date

Release Date

Type

Type

jar
Description

Description

gradle-walkmod-plugin
gradle plugin to run walkmod
Project URL

Project URL

https://github.com/walkmod/gradle-walkmod-plugin
Source Code Management

Source Code Management

https://github.com/walkmod/gradle-walkmod-plugin

Download gradle-walkmod-plugin

How to add to project

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

Dependencies

compile (1)

Group / Artifact Type Version
org.walkmod : walkmod-cmd jar 3.0.0

Project Modules

There are no modules declared in this project.

Walkmod Gradle Plugin

Build Status Coverage Status Semantic Versioning

The Walkmod Gradle Plugin is the first tool to provide Walkmod integration with Gradle. This plugin adds two new tasks to allow checking and applying walkmod changes to your projects.

Warning
this is a preliminary version and still some work must be done.

Installation

As long as this is a preliminary version, no fixed repository exists. If you wish to test the tool, you’ll need to install it locally from sources. A install task is provided to simplify the installation in maven local. Use the following snippet inside a Gradle build file:

build.gradle
buildscript {
    repositories {
       mavenCentral()
       jcenter()
    }

    dependencies {
        classpath 'org.walkmod:gradle-walkmod-plugin:0.0.1'
    }

    walkmod {
      chains = ['pmd']
    }
}

apply plugin: 'walkmod'

Usage

The plugin adds a three new tasks:

  1. walkmodCheck: checks for possible changes. Same as using walkmod check in the command tool.

  2. walkmodApply: applies changes. Same as using walkmod apply in the command tool.

  3. walkmodPatch: generates a patch. Same as using walkmod patch in the command tool.

Properties

Each tasks provides the following properties for its configuration:

chains

chain names to check or apply. Type: List<String>. Default: empty (all chains).

offline

true to resolve dependencies (uses Ivy), false to resolve locally. Type: boolean. Default: false.

verbose

true to show extra information. Type: boolean. Default: false.

showErrors

true to get full details when something goes wrong. Type: boolean. Default: false.

properties

dynamic parameters for the execution. Type: String

config

walkmod configuration file (e.g walkmod.xml). Default: `` (empty). === Methods

None right now (this may change in the future).

Contributing

In the spirit of free and open software, everyone is encouraged to help improve this project. If you discover errors or omissions in the source code, documentation, please don’t hesitate to submit an issue or open a pull request with a fix. New contributors are always welcome!

Here are some ways you can contribute:

  • by using prerelease (alpha, beta or preview) versions

  • by reporting bugs

  • by suggesting new features

  • by writing or editing documentation

  • by writing specifications

  • by writing code — No patch is too small.

    • fix typos

    • add comments

    • clean up inconsistent whitespace

    • write tests!

  • by refactoring code

  • by fixing {uri-issues}[issues]

  • by reviewing patches

org.walkmod

walkmod

Versions

Version
0.0.3
0.0.2
0.0.1