1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-01 16:51:16 +00:00

Updated target to Android 5.0, use material design, updated dependencies.

This commit is contained in:
Felix Ableitner 2014-10-18 14:58:23 +03:00
parent 87a21e2b85
commit 443c8e96d4
5 changed files with 9 additions and 8 deletions

View file

@ -6,9 +6,9 @@ buildscript {
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:0.12.2' classpath 'com.android.tools.build:gradle:0.13.3'
classpath 'com.alexvasilkov:android_sign:0.2' classpath 'com.alexvasilkov:android_sign:0.2'
classpath 'com.github.ben-manes:gradle-versions-plugin:0.5-beta-6' classpath 'com.github.ben-manes:gradle-versions-plugin:0.5'
classpath 'org.codehaus.groovy:groovy-backports-compat23:2.3.5' classpath 'org.codehaus.groovy:groovy-backports-compat23:2.3.5'
} }
} }
@ -29,7 +29,7 @@ repositories {
} }
dependencies { dependencies {
compile 'com.android.support:appcompat-v7:19.1.0' compile 'com.android.support:appcompat-v7:21.0.0'
compile 'com.android.support:support-v4-preferencefragment:1.0.0@aar' compile 'com.android.support:support-v4-preferencefragment:1.0.0@aar'
androidTestCompile 'com.squareup.okhttp:mockwebserver:2.0.0' androidTestCompile 'com.squareup.okhttp:mockwebserver:2.0.0'
} }
@ -39,7 +39,7 @@ preBuild {
} }
android { android {
compileSdkVersion 19 compileSdkVersion 21
buildToolsVersion "19.1.0" buildToolsVersion "19.1.0"
defaultConfig { defaultConfig {

View file

@ -1,13 +1,12 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.nutomic.syncthingandroid" package="com.nutomic.syncthingandroid"
android:versionCode="41" android:versionCode="41"
android:versionName="0.5.4" > android:versionName="0.5.4" >
<uses-sdk <uses-sdk
android:minSdkVersion="8" android:minSdkVersion="8"
android:targetSdkVersion="19" /> android:targetSdkVersion="21" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />

View file

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<style name="AppTheme" parent="@style/Theme.AppCompat.Light.DarkActionBar" /> <style name="AppTheme" parent="@style/Theme.AppCompat.Light.DarkActionBar" />
</resources> </resources>

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppTheme" parent="@android:style/Theme.Material.Light.DarkActionBar" />
</resources>

View file

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<style name="AppTheme" parent="@style/Theme.AppCompat" /> <style name="AppTheme" parent="@style/Theme.AppCompat" />
</resources> </resources>