diff --git a/.travis.yml b/.travis.yml index 53424ef6..86f5aee5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,12 @@ -sudo: false language: android -jdk: - - oraclejdk7 +jdk: oraclejdk8 # http://docs.travis-ci.com/user/languages/android/ android: components: - tools - build-tools-25.0.2 - - android-10 + - android-25 - extra-android-m2repository before_script: diff --git a/EventBusTest/build.gradle b/EventBusTest/build.gradle index 215b3d33..060355ba 100644 --- a/EventBusTest/build.gradle +++ b/EventBusTest/build.gradle @@ -10,8 +10,6 @@ buildscript { apply plugin: 'com.android.application' -sourceCompatibility = 1.7 - repositories { jcenter() } @@ -30,11 +28,6 @@ android { } } - compileOptions { - sourceCompatibility = JavaVersion.VERSION_1_7 - targetCompatibility = JavaVersion.VERSION_1_7 - } - sourceSets { main { manifest.srcFile 'AndroidManifest.xml' diff --git a/EventBusTestSubscriberInJar/build.gradle b/EventBusTestSubscriberInJar/build.gradle index 26adc98b..5c08b214 100644 --- a/EventBusTestSubscriberInJar/build.gradle +++ b/EventBusTestSubscriberInJar/build.gradle @@ -2,7 +2,6 @@ apply plugin: 'java' group = 'de.greenrobot' version = '3.0.0' -sourceCompatibility = 1.7 repositories { jcenter()