From dd40931a237ce5ef9bf74e7ffe0909cfa880647d Mon Sep 17 00:00:00 2001 From: str4d <str4d@mail.i2p> Date: Mon, 7 Jul 2014 02:43:16 +0000 Subject: [PATCH] Correct version code for current release If we move to increment-by-one instead of calculating the version code, we need to keep the code above the current highest generated code, so that F-Droid will order new builds correctly above old builds. If we decide to go back to calculating version codes later, it is possible - we can increment the version code 2047 times before it will clash with the one for 0.9.14. --- app/src/main/AndroidManifest.xml | 2 +- settings.gradle | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 587cd8ec6..f71525cfd 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -2,7 +2,7 @@ <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="net.i2p.android.router" android:installLocation="auto" - android:versionCode="1" + android:versionCode="4745216" android:versionName="0.9.13-0_b0-API9"> <uses-permission android:name="android.permission.INTERNET" /> diff --git a/settings.gradle b/settings.gradle index acf8d1951..203f0958d 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1 +1,4 @@ include ':app', ':routerjars' + +//System.out.println("Do you want to access the network to download dependencies? (y/n)") +//useNet = (System.console().readLine().toLowerCase() == 'y') -- GitLab