Browse Source

SEC-1906: Fix EmmaPlugin for Gradle 1.0

pull/12/head
Rob Winch 14 years ago
parent
commit
d14150c2e1
  1. 2
      buildSrc/src/main/groovy/emma/EmmaPlugin.groovy
  2. 2
      gradlew
  3. 2
      gradlew.bat

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

@ -32,7 +32,7 @@ class EmmaPlugin implements Plugin<Project> { @@ -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

@ -7,7 +7,7 @@ @@ -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

@ -9,7 +9,7 @@ @@ -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=.

Loading…
Cancel
Save