Skip to content

Commit

Permalink
modify build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenZhangg committed Nov 24, 2021
1 parent 2c8f649 commit f1179d4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,12 @@ buildscript {
classpath 'com.android.tools.build:gradle:1.0.0'
}
}
allprojects {
tasks.withType(Test).configureEach {
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
if (!project.hasProperty("createReports")) {
reports.html.required = false
reports.junitXml.required = false
}
}
}

0 comments on commit f1179d4

Please sign in to comment.