Skip to content

Tengio/tengio-checkstyle-plugin

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

Tengio Checkstyle Plugin

Basic plugin to abstract company wide checkstyle configuration.

Basic functionality of this plugin are:

  • This plugin reuse checkstyle plugin and inject the checkstyle task ans checkstyleMain to execute Checkstyle on an android project so there is no need of additional configuration.
  • Included in the jar and use as configuration includes the checkstyle.xml

Usage

You can place this in your root build.gradle or you app build.gradle.

Build script snippet for use in all Gradle versions:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.tengio.gradle:tengio-checkstyle-plugin:1.0"
  }
}

apply plugin: "com.tengio.gradle.tengio-checkstyle-plugin"

Build script snippet for new, incubating, plugin mechanism introduced in Gradle 2.1:

plugins {
  id "com.tengio.gradle.tengio-checkstyle-plugin" version "1.0"
}

About

Gradle plugin that uses checkstyle and reduces configuration for our projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published