File tree 4 files changed +10
-11
lines changed
4 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-4.9 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-5.5.1 -bin.zip
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ buildscript {
5
5
jcenter()
6
6
}
7
7
dependencies {
8
- classpath ' org.pitest:pitest:1.3.2 '
9
- classpath ' org.pitest:pitest-command-line:1.3.2 '
8
+ classpath ' org.pitest:pitest:1.4.9 '
9
+ classpath ' org.pitest:pitest-command-line:1.4.9 '
10
10
}
11
11
}
12
12
@@ -19,11 +19,8 @@ gradle.projectsEvaluated {
19
19
description ' Runs mutation tests using pitest tool.'
20
20
}
21
21
project. tasks. test. dependsOn. each { testTask ->
22
- if (testTask. metaClass. respondsTo(testTask, ' startsWith' ) &&
23
- testTask. startsWith(' test' )) {
24
- addPitestTask(project, testTask)
25
- project. pitest. dependsOn + = [project. tasks. " pi$testTask " ]
26
- }
22
+ addPitestTask(project, testTask. name)
23
+ project. pitest. dependsOn + = [project. tasks. " pi${ testTask.name} " ]
27
24
}
28
25
}
29
26
}
Original file line number Diff line number Diff line change 1
1
projectsEvaluated {
2
2
rootProject. subprojects {
3
- task sourcesJar(type :Jar ) {
4
- classifier = ' sources'
5
- from android. sourceSets. main. java. sourceFiles
3
+ if (it. hasProperty(' android' )) {
4
+ task sourcesJar(type :Jar ) {
5
+ classifier = ' sources'
6
+ from android. sourceSets. main. javaDirectories
7
+ }
6
8
}
7
9
}
8
10
}
You can’t perform that action at this time.
0 commit comments