diff --git a/.travis.yml b/.travis.yml index 4775f10dbb..b95ba38b78 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,8 +29,8 @@ script: - ./mvnw install -P travis - cd $TRAVIS_BUILD_DIR/examples/maven - ./mvnw install - - cd $TRAVIS_BUILD_DIR - - ./examples/gradle/gradlew assembleDebug --build-file examples/gradle/build.gradle + - cd $TRAVIS_BUILD_DIR/examples/gradle + - ./gradlew assembleDebug after_success: - if [[ $TRAVIS_REPO_SLUG == 'androidannotations/androidannotations' && $TRAVIS_BRANCH == 'develop' && $TRAVIS_PULL_REQUEST == 'false' && $TRAVIS_JDK_VERSION == 'oraclejdk8' ]]; then cd $TRAVIS_BUILD_DIR/AndroidAnnotations && ./mvnw -DskipTests -Dquiet -s ../settings.xml deploy ; fi diff --git a/examples/RoboGuiceExample/gradle.properties b/examples/RoboGuiceExample/gradle.properties new file mode 100644 index 0000000000..8bd86f6805 --- /dev/null +++ b/examples/RoboGuiceExample/gradle.properties @@ -0,0 +1 @@ +org.gradle.jvmargs=-Xmx1536M diff --git a/examples/gradle/gradle.properties b/examples/gradle/gradle.properties new file mode 100644 index 0000000000..8bd86f6805 --- /dev/null +++ b/examples/gradle/gradle.properties @@ -0,0 +1 @@ +org.gradle.jvmargs=-Xmx1536M diff --git a/examples/kotlin/gradle.properties b/examples/kotlin/gradle.properties new file mode 100644 index 0000000000..8bd86f6805 --- /dev/null +++ b/examples/kotlin/gradle.properties @@ -0,0 +1 @@ +org.gradle.jvmargs=-Xmx1536M