Skip to content

Commit

Permalink
Merge pull request #206 from matthijsbierman/205-jvmargs
Browse files Browse the repository at this point in the history
#205 fix org.gradle.jvmargs parameter
  • Loading branch information
puneetbehl authored Oct 18, 2023
2 parents eeeb4a4 + 7df26ea commit 85fb34c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ private void configureDefaultGradleProps(GeneratorContext generatorContext) {
generatorContext.getBuildProperties().put("org.gradle.caching", "true");
generatorContext.getBuildProperties().put("org.gradle.daemon", "true");
generatorContext.getBuildProperties().put("org.gradle.parallel", "true");
generatorContext.getBuildProperties().put("org.gradle.jvmArgs", "-Dfile.encoding=UTF-8 -Xmx1024M");
generatorContext.getBuildProperties().put("org.gradle.jvmargs", "-Dfile.encoding=UTF-8 -Xmx1024M");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class GradleSpec extends ApplicationContextSpec implements CommandOutputFixture
gradleProps.contains("org.gradle.caching=true")
gradleProps.contains("org.gradle.daemon=true")
gradleProps.contains("org.gradle.parallel=true")
gradleProps.contains("org.gradle.jvmArgs=-Dfile.encoding=UTF-8 -Xmx1024M")
gradleProps.contains("org.gradle.jvmargs=-Dfile.encoding=UTF-8 -Xmx1024M")
}

void "test build gradle"() {
Expand Down

0 comments on commit 85fb34c

Please sign in to comment.