Skip to content

Commit

Permalink
Increase heap size maximums for compile task (#1793)
Browse files Browse the repository at this point in the history
  • Loading branch information
helenye-stripe committed May 3, 2024
1 parent 54a082c commit 6bc17eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.gradle
Expand Up @@ -31,6 +31,9 @@ tasks.withType(JavaCompile) {
throw new GradleException("JDK 17 is required to build Stripe")
}

options.fork = true
options.forkOptions.jvmArgs += ['-Xms256M', '-Xmx512M']

options.release = project.targetCompatibility.majorVersion as Integer

options.compilerArgs << "-Xlint:all" << "-Xlint:-options" << "-Xlint:-processing"
Expand Down

0 comments on commit 6bc17eb

Please sign in to comment.