diff --git a/buildSrc/src/main/groovy/emma/EmmaPlugin.groovy b/buildSrc/src/main/groovy/emma/EmmaPlugin.groovy index d41cb9ed80..f325019468 100644 --- a/buildSrc/src/main/groovy/emma/EmmaPlugin.groovy +++ b/buildSrc/src/main/groovy/emma/EmmaPlugin.groovy @@ -32,7 +32,7 @@ class EmmaPlugin implements Plugin { 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); diff --git a/gradlew b/gradlew index 662dce77c3..fd533cd2fc 100755 --- a/gradlew +++ b/gradlew @@ -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"` diff --git a/gradlew.bat b/gradlew.bat index 89759b8224..bbc4099e94 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -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=.