Skip to content

Commit

Permalink
Improve GRADLE build Performance
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzhang22 committed Oct 13, 2021
1 parent d4a10b6 commit 91bc1c6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,23 @@ buildscript {
}

allprojects {
tasks.withType(Test).configureEach {
maxParallelForks = 4
}

tasks.withType(Test).configureEach {
forkEvery = 100
}

tasks.withType(Test).configureEach {
reports.html.required = false
reports.junitXml.required = false
}

tasks.withType(JavaCompile).configureEach {
options.incremental = true
}

repositories {
jcenter()
google()
Expand Down

0 comments on commit 91bc1c6

Please sign in to comment.