Unable to exclude files in findbugs usging gradle 4.6
up vote
0
down vote
favorite
FindBugs version: 3.0.1
When using gradle 2.14.1 to 3.6, below scripts could exclude files(Kotlin) well:
tasks.withType(FindBugs) {
exclude '**/com/xxx/*'
classes = classes.filter {
!it.path.contains(new File("com/xxx").path)
}
reports {
xml.enabled = false
html.enabled = true
}
}
But when changed to using gradle 4.6, above scripts unable to exclude file.
Why and how to solve this? Thanks for any help.
kotlin findbugs gradle-plugin
add a comment |
up vote
0
down vote
favorite
FindBugs version: 3.0.1
When using gradle 2.14.1 to 3.6, below scripts could exclude files(Kotlin) well:
tasks.withType(FindBugs) {
exclude '**/com/xxx/*'
classes = classes.filter {
!it.path.contains(new File("com/xxx").path)
}
reports {
xml.enabled = false
html.enabled = true
}
}
But when changed to using gradle 4.6, above scripts unable to exclude file.
Why and how to solve this? Thanks for any help.
kotlin findbugs gradle-plugin
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
FindBugs version: 3.0.1
When using gradle 2.14.1 to 3.6, below scripts could exclude files(Kotlin) well:
tasks.withType(FindBugs) {
exclude '**/com/xxx/*'
classes = classes.filter {
!it.path.contains(new File("com/xxx").path)
}
reports {
xml.enabled = false
html.enabled = true
}
}
But when changed to using gradle 4.6, above scripts unable to exclude file.
Why and how to solve this? Thanks for any help.
kotlin findbugs gradle-plugin
FindBugs version: 3.0.1
When using gradle 2.14.1 to 3.6, below scripts could exclude files(Kotlin) well:
tasks.withType(FindBugs) {
exclude '**/com/xxx/*'
classes = classes.filter {
!it.path.contains(new File("com/xxx").path)
}
reports {
xml.enabled = false
html.enabled = true
}
}
But when changed to using gradle 4.6, above scripts unable to exclude file.
Why and how to solve this? Thanks for any help.
kotlin findbugs gradle-plugin
kotlin findbugs gradle-plugin
asked 19 hours ago
Jack Zhu
1236
1236
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53203237%2funable-to-exclude-files-in-findbugs-usging-gradle-4-6%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password