SEC-1906: Fix EmmaPlugin for Gradle 1.0

This commit is contained in:
Rob Winch 2012-07-05 22:57:16 -05:00
parent a6bded86c2
commit d14150c2e1
3 changed files with 3 additions and 3 deletions

View File

@ -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);

2
gradlew vendored
View File

@ -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"`

2
gradlew.bat vendored
View File

@ -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=.