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

Fix projectVersion systemProperty in configureForkSettings #217

Merged
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -403,8 +403,9 @@ class GrailsGradlePlugin extends GroovyPlugin {
task.systemProperty(sysPropName, value.toString())
}
}

task.systemProperty Metadata.APPLICATION_NAME, project.name
task.systemProperty Metadata.APPLICATION_VERSION, project.version
task.systemProperty Metadata.APPLICATION_VERSION, (project.version instanceof Serializable ? project.version : project.version.toString())
task.systemProperty Metadata.APPLICATION_GRAILS_VERSION, grailsVersion
task.systemProperty Environment.KEY, defaultGrailsEnv
task.systemProperty Environment.FULL_STACKTRACE, System.getProperty(Environment.FULL_STACKTRACE) ?: ""
Expand All @@ -414,8 +415,6 @@ class GrailsGradlePlugin extends GroovyPlugin {
if(task.maxHeapSize == null) {
task.maxHeapSize = "768m"
}
List<String> jvmArgs = task.jvmArgs

task.jvmArgs "-XX:+TieredCompilation", "-XX:TieredStopAtLevel=1", "-XX:CICompilerCount=3"

// Copy GRAILS_FORK_OPTS into the fork. Or use GRAILS_OPTS if no fork options provided
Expand Down