Skip to content

Commit 3fb954d

Browse files
committed
common.gradle: use lazy execution to accelerate builds
1 parent 30961e5 commit 3fb954d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

common.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ java {
1111
import org.gradle.nativeplatform.platform.internal.DefaultNativePlatform
1212
Boolean isMacOS = DefaultNativePlatform.currentOperatingSystem.isMacOsX()
1313

14-
tasks.withType(JavaExec) { // Java runtime options:
14+
tasks.withType(JavaExec).configureEach { // Java runtime options:
1515
if (isMacOS) {
1616
args '--noDialog'
1717
jvmArgs '-XstartOnFirstThread'

0 commit comments

Comments
 (0)