Skip to content

HoldYourWaffle2/gradle-todo-plugin-fixed

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gradle-todo-plugin (fixed)

A Gradle plugin for finding // TODO comments, originally by Felix Schulze and fixed by me.

Use in your project

This plugin is available through the gradle plugin portal.

Configuration

//Default configuration
todo {
    teamCityLog = true
    todoPattern = "//[\t\s]*TODO(.*)"
    todoSuffixPattern =  '(someText|otherText)(.*)'
    failIfFound = true
    sourceFolder = "your source folder"
    fileExtensions = ["java", "groovy"]
}
  • teamCityLog: Add features for TeamCity
  • todoPattern: Regex for TODO
  • todoSuffixPattern: Regex suffix for TODO
  • failIfFound: Fail build if TODO found
  • sourceFolder: Folder name for your sources
  • fileExtensions: List of file extension for searching for TODOs

Changelog

F-1.0: Fixed upstream issues. (#3 and a part of both #1 and #2)

License

gradle-todo-plugin is available under the MIT license. See the LICENSE file for more info.

About

A Gradle plugin for finding // TODO comments (FIXED)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Groovy 100.0%