Skip to content

Commit

Permalink
plugin-plugin 20.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rpalcolea committed Jan 5, 2023
1 parent 482ed5c commit 9991430
Showing 1 changed file with 2 additions and 21 deletions.
23 changes: 2 additions & 21 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.netflix.nebula:nebula-publishing-plugin:19.1.0"
}
}


plugins {
id 'com.netflix.nebula.plugin-plugin' version '20.1.0'
id 'com.netflix.nebula.plugin-plugin' version '20.3.0'
}

description 'Gradle plugin to ease use of ivy-publish and maven-publish'
Expand Down Expand Up @@ -271,14 +260,6 @@ gradlePlugin {
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_1_8

tasks.withType(Test) {
tasks.withType(Test).configureEach {
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
}

tasks.withType(Test) { Test testTask ->
testTask.maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
testTask.doFirst {
// Add the execution data only if the task runs
jacocoTestReport.executionData.from = files("$buildDir/jacoco/${testTask.name}.exec")
}
}

0 comments on commit 9991430

Please sign in to comment.