Skip to content

Commit

Permalink
Fix compilation issue and add support for AS 2.2+
Browse files Browse the repository at this point in the history
  • Loading branch information
m4gr3d committed Oct 10, 2016
1 parent f78b031 commit bb8bd90
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions ClientLib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ android {
testOptions {
unitTests.returnDefaultValues = true
}
buildToolsVersion '24.0.1'
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
classpath 'com.android.tools.build:gradle:2.2.0'

//Dexcount gradle plugin
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.4.4'
Expand Down
2 changes: 2 additions & 0 deletions dependencyLibs/Mavlink/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
apply plugin: 'java'
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7

sourceSets {
main {
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Sun Nov 30 09:39:49 PST 2014
#Sun Oct 09 17:42:15 PDT 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
6 changes: 6 additions & 0 deletions samples/StarterApp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ android {
abortOnError false
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}

buildToolsVersion '24.0.1'
}

dependencies {
Expand Down

0 comments on commit bb8bd90

Please sign in to comment.