Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Commit

Permalink
fixed not using tasks.withType(...).configureEach for slightly fast…
Browse files Browse the repository at this point in the history
…er gradle configuration
  • Loading branch information
CommanderStorm committed Aug 29, 2023
1 parent 70dce39 commit 3d2f6ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ buildscript {
}

allprojects {
tasks.withType(JavaCompile) {
tasks.withType(JavaCompile).configureEach {
options.fork = true // Fork your compilation into a child process
options.forkOptions.setMemoryMaximumSize("4g") // Set maximum memory to 4g
options.compilerArgs << "-Xlint:all"
Expand Down

0 comments on commit 3d2f6ba

Please sign in to comment.