Clone
 

peter niederwieser <pniederw@gmail.com> in Gradle

Merge branch 'release'

Conflicts:

subprojects/docs/docs.gradle

updated gradle wrapper to 2.2

    • -2
    • +2
    /gradle/wrapper/gradle-wrapper.properties
Add test coverage for legacy configuration properties of code quality extensions/tasks

Polish javadoc

Add relevant types for creating text resources to dsl doc

    • -0
    • +6
    /subprojects/docs/src/docs/dsl/dsl.xml
Polish release notes

    • -4
    • +4
    /subprojects/docs/src/docs/release/notes.md
Introduce TextResource#asFile(String charset) (REVIEW-5217)

Polish code that checks contents of file collections (REVIEW-5217)

Update Javadoc

Polish release notes

    • -1
    • +1
    /subprojects/docs/src/docs/release/notes.md
Polish release notes

    • -4
    • +6
    /subprojects/docs/src/docs/release/notes.md
Explain "Sharing configuration files across builds" feature and related breaking changes in release notes

    • -0
    • +66
    /subprojects/docs/src/docs/release/notes.md
Add DSL doc for ResourceHandler and TextResourceFactory

    • -0
    • +47
    /subprojects/docs/src/docs/dsl/org.gradle.api.resources.ResourceHandler.xml
    • -0
    • +47
    /subprojects/docs/src/docs/dsl/org.gradle.api.resources.TextResourceFactory.xml
Introduce TextResourceFactory

- cleaner API/DSL for creating text resources

- more modular (factory methods no longer declared in ResourceHandler)

Change `file` parameter of ResourceHandler#fileText and #archiveEntryText to have type Object

- converted using project.files()

- more flexible, halves the number of overloads

Rename some of the factory methods for creating TextResource's

- resources.text -> fileText, resources.archiveText -> archiveEntryText

Update open questions of design spec

    • -1
    • +1
    /design-docs/sharing-code-quality-config.md
Introduce Pmd(Extension)#rulesetConfig

- new way to configure custom rule set based on TextResource abstraction

- may add support for multiple rule sets in the future, in order to match capabilities of ruleSetFiles property

Make some direct use of new way to configure findbugs filters in integration test

Update open questions in design spec

    • -4
    • +4
    /design-docs/sharing-code-quality-config.md
Introduce Codenarc(Extension)#config

- based on new TextResource abstraction

- set to replace #configFile

    • -0
    • +4
    /subprojects/docs/src/docs/dsl/org.gradle.api.plugins.quality.CodeNarcExtension.xml
Introduce FindBugs(Extension)#includeFilterConfig and #excludeFilterConfig

- based on new TextResource abstraction

- set to replace #includeFilter and #excludeFilter

    • -0
    • +8
    /subprojects/docs/src/docs/dsl/org.gradle.api.plugins.quality.FindBugsExtension.xml
Update Checkstyle(Extension) DSL reference

    • -0
    • +4
    /subprojects/docs/src/docs/dsl/org.gradle.api.plugins.quality.CheckstyleExtension.xml
Update Groovydoc

Implement Checkstyle(Extension)#configFile in terms of new Checkstyle(Extension)#config

- cleaner approach

Fix failing tests

Use stronger return type for TextResource#getInputFiles

Enable checkstyle task/extension to be configured using a TextResource

- allows to source configuration from resources other than a file

Add open question to design spec

    • -0
    • +2
    /design-docs/sharing-code-quality-config.md
Update open questions in design spec

    • -0
    • +6
    /design-docs/sharing-code-quality-config.md