Skip to content

Commit d14150c

Browse files
committed
SEC-1906: Fix EmmaPlugin for Gradle 1.0
1 parent a6bded8 commit d14150c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

buildSrc/src/main/groovy/emma/EmmaPlugin.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class EmmaPlugin implements Plugin<Project> {
3232

3333
doFirst {
3434
InstrProcessor processor = InstrProcessor.create ();
35-
String[] classesDirPath = [project.sourceSets.main.classesDir.absolutePath]
35+
String[] classesDirPath = [project.sourceSets.main.output.classesDir.absolutePath]
3636

3737
processor.setInstrPath(classesDirPath, false);
3838
processor.setOutMode(InstrProcessor.OutMode.OUT_MODE_COPY);

gradlew

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
##############################################################################
88

99
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
10-
DEFAULT_JVM_OPTS="-XX:MaxPermSize=256M"
10+
DEFAULT_JVM_OPTS="-Xmx1024M -XX:MaxPermSize=256M"
1111

1212
APP_NAME="Gradle"
1313
APP_BASE_NAME=`basename "$0"`

gradlew.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
if "%OS%"=="Windows_NT" setlocal
1010

1111
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
12-
set DEFAULT_JVM_OPTS=-XX:MaxPermSize=256M
12+
set DEFAULT_JVM_OPTS=-Xmx1024M -XX:MaxPermSize=256M
1313

1414
set DIRNAME=%~dp0
1515
if "%DIRNAME%" == "" set DIRNAME=.

0 commit comments

Comments
 (0)