Skip to content

Commit bb8bd90

Browse files
committed
Fix compilation issue and add support for AS 2.2+
1 parent f78b031 commit bb8bd90

File tree

5 files changed

+12
-3
lines changed

5 files changed

+12
-3
lines changed

ClientLib/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ android {
9494
testOptions {
9595
unitTests.returnDefaultValues = true
9696
}
97+
buildToolsVersion '24.0.1'
9798
}
9899

99100
dependencies {

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ buildscript {
1515
}
1616

1717
dependencies {
18-
classpath 'com.android.tools.build:gradle:1.5.0'
18+
classpath 'com.android.tools.build:gradle:2.2.0'
1919

2020
//Dexcount gradle plugin
2121
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.4.4'

dependencyLibs/Mavlink/build.gradle

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
apply plugin: 'java'
2+
sourceCompatibility = JavaVersion.VERSION_1_7
3+
targetCompatibility = JavaVersion.VERSION_1_7
24

35
sourceSets {
46
main {
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Sun Nov 30 09:39:49 PST 2014
1+
#Sun Oct 09 17:42:15 PDT 2016
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip

samples/StarterApp/build.gradle

+6
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ android {
2222
abortOnError false
2323
}
2424

25+
compileOptions {
26+
sourceCompatibility JavaVersion.VERSION_1_7
27+
targetCompatibility JavaVersion.VERSION_1_7
28+
}
29+
30+
buildToolsVersion '24.0.1'
2531
}
2632

2733
dependencies {

0 commit comments

Comments
 (0)