Skip to content

Commit 1058442

Browse files
committed
Update to Tower 4.1.0 Beta 1
1 parent 7d0b5e4 commit 1058442

File tree

6 files changed

+30
-55
lines changed

6 files changed

+30
-55
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ android:
99
- platform-tools
1010

1111
# The BuildTools version used by your project
12+
- build-tools-25.0.3
1213
- build-tools-24.0.1
1314
- build-tools-23.0.3
1415

Android/build.gradle

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@ dependencies {
2121
compile 'com.github.gabrielemariotti.changeloglib:changelog:2.0.0'
2222

2323
//DroneKit-Android client lib
24+
// Tower requires 3.0.4+ library (it requires dronekit-android to be checked out)
25+
// compile 'com.o3dr.android:dronekit-android:3.0.4-beta1' // Not released yet
2426
compile 'com.o3dr.android:dronekit-android:3.0.2'
25-
//Comment line above, and uncomment line below to use your local version of the dronekit-android client lib
26-
//Don't forget to uncomment the lines in the settings.gradle file as well.
27-
// compile project(':ClientLib')
27+
// Comment line above, and uncomment line below to use your local version of the dronekit-android client lib
28+
// Don't forget to uncomment the lines in the settings.gradle file as well.
29+
// compile project(':ClientLib')
2830

2931
compile 'me.grantland:autofittextview:0.2.1'
3032
compile(name:'shimmer-android-release', ext:'aar')
@@ -50,18 +52,18 @@ dependencies {
5052
compile 'com.github.lecho:hellocharts-library:1.5.5@aar'
5153

5254
//Leak canary (https://github.com/square/leakcanary)
53-
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.4-beta2'
54-
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta2'
55-
testCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta2'
55+
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.5.4'
56+
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.4'
57+
testCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.4'
5658
}
5759

5860
def versionPrefix = "Tower-v"
5961

6062
//Decomposed version name and code (https://plus.google.com/+JakeWharton/posts/6f5TcVPRZij)
6163
def versionMajor = 4
62-
def versionMinor = 0
64+
def versionMinor = 1
6365
def versionPatch = 0
64-
def versionBuild = 10 //bump for dogfood builds, public betas, etc.
66+
def versionBuild = 1 //bump for dogfood builds, public betas, etc.
6567

6668
//Logging levels
6769
def logLevelVerbose = 2;
@@ -226,7 +228,7 @@ android {
226228
buildConfigField "boolean", "ENABLE_CRASHLYTICS", "${hasFabricApiKey()}"
227229
}
228230
}
229-
buildToolsVersion '24.0.1'
231+
buildToolsVersion '25.0.3'
230232
}
231233

232234
/**

Android/res/raw/changelog.xml

Lines changed: 4 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -8,51 +8,13 @@
88
chg:changeLogFileResourceId="@raw/custom_changelog"
99
in your View component in layout file -->
1010

11-
<!--
12-
TODO: enable for version 4.1.0
13-
<changelogversion versionName="4.1.0" changeDate="Sept 30, 2016">
14-
<changelogimprovement>Add weather widget</changelogimprovement>
11+
<changelogversion versionName="4.1.0" changeDate="Nov 12, 2017">
12+
<changelogimprovement>Fix SiK Radio not showing RSSI</changelogimprovement>
13+
<changelogimprovement>Vehicle Specific Icons (Settings)</changelogimprovement>
14+
<changelogimprovement>dronekit-android updated MAVLINK messages.</changelogimprovement>
1515
</changelogversion>
16-
-->
1716

18-
<changelogversion versionName="4.0.0" changeDate="Oct 9, 2016">
19-
<changelogimprovement>Remove dependency on 3DR Services</changelogimprovement>
20-
<changelogimprovement>Support for Baidu Map</changelogimprovement>
21-
<changelogimprovement>Support for compass calibration for Solo and ArduCopter v3.4 or higher</changelogimprovement>
22-
<changelogimprovement>Improved version of the vehicle history</changelogimprovement>
23-
<changelogimprovement>Ability to export the vehicle flight path as a mission</changelogimprovement>
24-
<changelogimprovement>Ability to export the vehicle flight history as a mission</changelogimprovement>
25-
<changelogimprovement>Deprecate '.dpwp' mission file for '.txt' mission file to improve compatibility with other GCS</changelogimprovement>
26-
<changelogimprovement>Ability to lock the copter yaw during a survey mission</changelogimprovement>
27-
<changelogimprovement>Ability to start camera trigger after the first waypoint in a survey mission</changelogimprovement>
2817

29-
<changelogtext>Add Credits page</changelogtext>
30-
<changelogtext>Fix mission waypoint reordering</changelogtext>
31-
<changelogtext>Autosave last survey preferences</changelogtext>
32-
<changelogtext>Fix invalid altitude frame for Follow-Me and Guided mode</changelogtext>
33-
<changelogtext>Fix parameters editing for plane vehicles</changelogtext>
34-
<changelogtext>Fix Takeoff mission waypoint for plane vehicles</changelogtext>
35-
<changelogtext>Improve mission length calculation</changelogtext>
3618

37-
<changelogtext>Improve portuguese translation</changelogtext>
38-
</changelogversion>
39-
40-
<!--<changelogversion versionName="3.2.1" changeDate="May 12,2016">-->
41-
<!--<changelogimprovement>[b]UVC[/b] devices support by [i]Guilherme Blanco[/i]</changelogimprovement>-->
42-
<!--<changelogimprovement>Google Cardboard [b]FPV[/b] support thanks to [b]DronePro[/b] by [i]Shawn Fraser[/i]</changelogimprovement>-->
43-
<!--<changelogimprovement>Add ability to set a custom video stream. Check the [i][b]Tower Wiki[/b][/i] for setup instructions</changelogimprovement>-->
44-
<!--<changelogimprovement>Add [i]Reset ROI[/i] mission item</changelogimprovement>-->
45-
<!--<changelogimprovement>Add support for [b]ArcGIS[/b] map tiles</changelogimprovement>-->
46-
47-
<!--<changelogtext>Update UX for the telemetry connection preferences</changelogtext>-->
48-
<!--<changelogtext>Remove support for [b]Droneshare[/b] accounts as the site is closing down</changelogtext>-->
49-
50-
<!--<changelogtext>Navigation Drawer update to Material Design by [i]jandrop[/i]</changelogtext>-->
51-
<!--<changelogtext>Improve spanish translation</changelogtext>-->
52-
<!--<changelogtext>Improve german translation</changelogtext>-->
53-
<!--<changelogtext>Improve chinese translation</changelogtext>-->
54-
<!--<changelogtext>Improve portuguese translation</changelogtext>-->
55-
56-
<!--</changelogversion>-->
5719

5820
</changelog>

build.gradle

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
buildscript {
44

55
ext {
6-
kotlin_version = '1.0.0'
6+
kotlin_version = '1.1.51'
77

88
play_services_version = '9.4.0'
99
support_lib_version = '23.4.0'
@@ -19,14 +19,18 @@ buildscript {
1919
jcenter()
2020
mavenCentral()
2121
maven { url 'https://maven.fabric.io/public' }
22+
maven {
23+
url 'https://maven.google.com/'
24+
name 'Google'
25+
}
2226
}
2327
dependencies {
24-
classpath 'com.android.tools.build:gradle:2.2.2'
28+
classpath 'com.android.tools.build:gradle:2.3.1'
2529
classpath 'io.fabric.tools:gradle:1.21.2'
2630
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
2731

2832
//Dexcount gradle plugin
29-
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.4.4'
33+
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.6.2'
3034
}
3135
}
3236

@@ -75,5 +79,9 @@ allprojects {
7579
flatDir {
7680
dirs 'libs'
7781
}
82+
maven {
83+
url 'https://maven.google.com/'
84+
name 'Google'
85+
}
7886
}
7987
}

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ 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.14.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip

settings.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ include ':Android'
33

44
//Uncomment block below to link to your local version of the dronekit-android client lib.
55
//Don't forget to uncomment the lines in the Android/build.gradle file as well.
6+
// !BB! Only supporting in-place compilation at the moment
7+
// until new release of dronekit-android done.
68
/*
79
//Linking to the dronekit-android project to improve development flow
810
include ':ClientLib'

0 commit comments

Comments
 (0)