Permalink
Browse files

SEC-1906: Fix EmmaPlugin for Gradle 1.0

  • Loading branch information...
1 parent a6bded8 commit d14150c2e1948264dec096b48ec22f10a15fc5af @rwinch rwinch committed Jul 6, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 buildSrc/src/main/groovy/emma/EmmaPlugin.groovy
  2. +1 −1 gradlew
  3. +1 −1 gradlew.bat
@@ -32,7 +32,7 @@ class EmmaPlugin implements Plugin<Project> {
doFirst {
InstrProcessor processor = InstrProcessor.create ();
- String[] classesDirPath = [project.sourceSets.main.classesDir.absolutePath]
+ String[] classesDirPath = [project.sourceSets.main.output.classesDir.absolutePath]
processor.setInstrPath(classesDirPath, false);
processor.setOutMode(InstrProcessor.OutMode.OUT_MODE_COPY);
View
@@ -7,7 +7,7 @@
##############################################################################
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
-DEFAULT_JVM_OPTS="-XX:MaxPermSize=256M"
+DEFAULT_JVM_OPTS="-Xmx1024M -XX:MaxPermSize=256M"
APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`
View
@@ -9,7 +9,7 @@
if "%OS%"=="Windows_NT" setlocal
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
-set DEFAULT_JVM_OPTS=-XX:MaxPermSize=256M
+set DEFAULT_JVM_OPTS=-Xmx1024M -XX:MaxPermSize=256M
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.

0 comments on commit d14150c

Please sign in to comment.