1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-22 20:31:16 +00:00

Ignore "version code unused" lint warning

The value is actually read from gradle by getVersionCodeFromManifest().
This commit is contained in:
Felix Ableitner 2014-05-19 01:21:13 +02:00
parent 22f44dffa5
commit a0881ca8c8
2 changed files with 4 additions and 2 deletions

View file

@ -26,7 +26,7 @@ android {
compileSdkVersion 19 compileSdkVersion 19
buildToolsVersion "19.0.3" buildToolsVersion "19.0.3"
defaultConfig{ defaultConfig {
versionCode getVersionCodeFromManifest() versionCode getVersionCodeFromManifest()
} }

View file

@ -1,8 +1,10 @@
<?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="2" android:versionCode="2"
android:versionName="0.2.0" > android:versionName="0.2.0"
tools:ignore="GradleOverrides" >
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="19" /> <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="19" />