Permalink
Browse files

fixing ci pipeline

  • Loading branch information...
nemonik committed Jun 22, 2015
1 parent 9becc76 commit 1d2cb790e732c2aeb206d26aa78a3a882aae8ef4
Showing with 12 additions and 5 deletions.
  1. +1 −1 .travis.yml
  2. +7 −0 build.gradle
  3. +1 −1 circle.yml
  4. +1 −1 gradle/wrapper/gradle-wrapper.properties
  5. +1 −1 gradlew
  6. +1 −1 gradlew.bat
View
@@ -6,7 +6,7 @@ jdk:
before_install:
- chmod +x gradlew
env: GRADLE_OPTS="-Dorg.gradle.daemon=true -Xmx1024m -Xms256m"
env: GRADLE_OPTS=-Dorg.gradle.daemon=true
env: CI_OPTS=--stacktrace
install: /bin/true
View
@@ -101,6 +101,13 @@ if (!has("skipPackageInfo")) {
task wrapper(type: Wrapper) {
gradleVersion = '2.4'
def jvmOpts='-Xmx1024m -Xms256m'
inputs.property("jvmOpts", jvmOpts)
doLast {
def optsEnvVar = "DEFAULT_JVM_OPTS"
scriptFile.write scriptFile.text.replace("$optsEnvVar=\"\"", "$optsEnvVar=\"$jvmOpts\"")
batchScript.write batchScript.text.replace("set $optsEnvVar=", "set $optsEnvVar=$jvmOpts")
}
}
task javadocJar(type: Jar) {
View
@@ -2,7 +2,7 @@ machine:
java:
version: oraclejdk7
environment:
GRADLE_OPTS: -Dorg.gradle.daemon=true -Xmx1024m -Xms256m
GRADLE_OPTS: -Dorg.gradle.daemon=true
CI_OPTS: --stacktrace --debug
test:
@@ -1,4 +1,4 @@
#Mon Jun 22 13:57:08 EDT 2015
#Mon Jun 22 14:58:18 EDT 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
View
@@ -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=""
DEFAULT_JVM_OPTS="-Xmx1024m -Xms256m"
APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`
View
@@ -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=
set DEFAULT_JVM_OPTS=-Xmx1024m -Xms256m
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.

0 comments on commit 1d2cb79

Please sign in to comment.