Browse Source

Fix release builds by pointing AndoridAnnotations to the right AndroidManifest; also adding explicitly the legacy Apache HttpClient usage. Preparing new release.

pull/465/head
Eric Kok 6 years ago
parent
commit
c2faf75ce3
  1. 18
      app/build.gradle
  2. 4
      app/src/main/AndroidManifest.xml

18
app/build.gradle

@ -8,17 +8,29 @@ android {
defaultConfig { defaultConfig {
minSdkVersion 15 minSdkVersion 15
targetSdkVersion 28 targetSdkVersion 28
versionCode 230 versionCode 231
versionName '2.5.10' versionName '2.5.11'
javaCompileOptions { javaCompileOptions {
annotationProcessorOptions { annotationProcessorOptions {
arguments = ["resourcePackageName": "org.transdroid"] arguments = [
"resourcePackageName": "org.transdroid",
"androidManifestFile": "/Users/erickok/Android/2312/transdroid/app/src/main/AndroidManifest.xml"
]
} }
} }
} }
signingConfigs {
releaseConfig {
keyAlias 'transdroid'
keyPassword ''
storeFile file('../../erickok.keystore')
storePassword ''
}
}
buildTypes { buildTypes {
release { release {
signingConfig signingConfigs.releaseConfig
minifyEnabled false minifyEnabled false
} }
} }

4
app/src/main/AndroidManifest.xml

@ -51,6 +51,10 @@
android:label="@string/app_name" android:label="@string/app_name"
android:theme="@style/Theme.AppCompat" > android:theme="@style/Theme.AppCompat" >
<uses-library
android:name="org.apache.http.legacy"
android:required="false" />
<!-- Main activities --> <!-- Main activities -->
<activity <activity
android:name="org.transdroid.core.gui.TorrentsActivity_" android:name="org.transdroid.core.gui.TorrentsActivity_"

Loading…
Cancel
Save