diff --git a/grails-forge-core/src/main/java/org/grails/forge/feature/build/gradle/Gradle.java b/grails-forge-core/src/main/java/org/grails/forge/feature/build/gradle/Gradle.java index 050bfde3..ecac5f39 100644 --- a/grails-forge-core/src/main/java/org/grails/forge/feature/build/gradle/Gradle.java +++ b/grails-forge-core/src/main/java/org/grails/forge/feature/build/gradle/Gradle.java @@ -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 diff --git a/grails-forge-core/src/test/groovy/org/grails/forge/build/gradle/GradleSpec.groovy b/grails-forge-core/src/test/groovy/org/grails/forge/build/gradle/GradleSpec.groovy index dbd50989..80dbd19c 100644 --- a/grails-forge-core/src/test/groovy/org/grails/forge/build/gradle/GradleSpec.groovy +++ b/grails-forge-core/src/test/groovy/org/grails/forge/build/gradle/GradleSpec.groovy @@ -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"() {