SEC-1906: Fix EmmaPlugin for Gradle 1.0
This commit is contained in:
parent
a6bded86c2
commit
d14150c2e1
|
@ -32,7 +32,7 @@ class EmmaPlugin implements Plugin<Project> {
|
||||||
|
|
||||||
doFirst {
|
doFirst {
|
||||||
InstrProcessor processor = InstrProcessor.create ();
|
InstrProcessor processor = InstrProcessor.create ();
|
||||||
String[] classesDirPath = [project.sourceSets.main.classesDir.absolutePath]
|
String[] classesDirPath = [project.sourceSets.main.output.classesDir.absolutePath]
|
||||||
|
|
||||||
processor.setInstrPath(classesDirPath, false);
|
processor.setInstrPath(classesDirPath, false);
|
||||||
processor.setOutMode(InstrProcessor.OutMode.OUT_MODE_COPY);
|
processor.setOutMode(InstrProcessor.OutMode.OUT_MODE_COPY);
|
||||||
|
|
|
@ -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.
|
# 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_NAME="Gradle"
|
||||||
APP_BASE_NAME=`basename "$0"`
|
APP_BASE_NAME=`basename "$0"`
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
if "%OS%"=="Windows_NT" setlocal
|
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.
|
@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
|
set DIRNAME=%~dp0
|
||||||
if "%DIRNAME%" == "" set DIRNAME=.
|
if "%DIRNAME%" == "" set DIRNAME=.
|
||||||
|
|
Loading…
Reference in New Issue