Skip to content

Commit

Permalink
Ignore submodule-related deprecation warnings in Gradle 6+
Browse files Browse the repository at this point in the history
  • Loading branch information
szpak committed Mar 14, 2020
1 parent 01dcf22 commit fdc2c38
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
package info.solidsoft.gradle.pitest.functional

import nebula.test.functional.ExecutionResult
import spock.util.environment.RestoreSystemProperties

class AcceptanceTestsInSeparateSubprojectFunctionalSpec extends AbstractPitestFunctionalSpec {

@RestoreSystemProperties
def "should mutate production code in another subproject"() {
given:
copyResources("testProjects/multiproject", "")
and:
//For Gradle 6+, until fixed: https://github.com/szpak/gradle-pitest-plugin/issues/62
System.setProperty("ignoreDeprecations", "true")
when:
ExecutionResult result = runTasksSuccessfully('pitest')
then:
Expand Down

0 comments on commit fdc2c38

Please sign in to comment.