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 { @@ -8,17 +8,29 @@ android {
defaultConfig {
minSdkVersion 15
targetSdkVersion 28
versionCode 230
versionName '2.5.10'
versionCode 231
versionName '2.5.11'
javaCompileOptions {
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 {
release {
signingConfig signingConfigs.releaseConfig
minifyEnabled false
}
}

4
app/src/main/AndroidManifest.xml

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

Loading…
Cancel
Save