This repository has been archived by the owner on Feb 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #218 from novoda/taso/fix-gradle-6-issue
Fix Gradle 6 issue
- Loading branch information
Showing
3 changed files
with
23 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
...ain/groovy/com/novoda/staticanalysis/internal/findbugs/FindbugsConfiguratorFactory.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.novoda.staticanalysis.internal.findbugs | ||
|
||
import com.novoda.staticanalysis.Violations | ||
import org.gradle.api.NamedDomainObjectContainer | ||
import org.gradle.api.Project | ||
import org.gradle.api.Task | ||
|
||
@Deprecated | ||
class FindbugsConfiguratorFactory { | ||
|
||
private FindbugsConfiguratorFactory() { | ||
} | ||
|
||
static FindbugsConfigurator create(Project project, | ||
NamedDomainObjectContainer<Violations> violationsContainer, | ||
Task evaluateViolations) { | ||
Violations violations = violationsContainer.maybeCreate('Findbugs') | ||
return new FindbugsConfigurator(project, violations, evaluateViolations) | ||
} | ||
} |