Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve GRADLE build Performance #1555

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ rat {
}

allprojects {
tasks.withType(JavaCompile).configureEach {
cameronlee314 marked this conversation as resolved.
Show resolved Hide resolved
options.fork = true
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor: Could you please use 2 spaces for indentation instead of 4? Just for consistency with the rest of the file.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, two spaces now

apply plugin: 'idea'

// For all scala compilation, add extra compiler options, taken from version-specific
Expand Down Expand Up @@ -834,4 +838,4 @@ project(":samza-test_$scalaSuffix") {
// SAMZA-2473 read wrapper version from gradle.properties
wrapper {
gradleVersion = project.gradleVersion
}
}