Answer the question
In order to leave comments, you need to log in
How to disable submodule testing?
Hello! There is a problem when building the project, tests are being checked on the server. We use a part of third-party modules, which tests do not pass. I want to exclude the tests of these submodules so that when building, their tests are ignored. I tried to do this in Gradle like this:
sourceSets {
test {
java {
exclude 'org.tests'// here is the full path of the package
}
}
}
But it didn't help.
PS Writing @Ignore in each class is not an option. Thank you!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question