summaryrefslogtreecommitdiff
path: root/core/build.gradle
diff options
context:
space:
mode:
authorMats Wahlberg <rcxslinger@gmail.com>2020-04-21 17:41:24 +0200
committerMats Wahlberg <rcxslinger@gmail.com>2020-09-30 13:52:31 +0200
commit4c24d1c29a726a67eabf86a9f9866e5daeca4ae8 (patch)
treeffe194b3ec02125947e2ea6c902d570604b83359 /core/build.gradle
parent746190106f9293fb60b4821de8590d7c132f56b7 (diff)
downloadAntennaPod-4c24d1c29a726a67eabf86a9f9866e5daeca4ae8.zip
Bundle Conscrypt security provider for Free builds
This fixes protocol and cipher errors on older versions of android without requiring Google API/Services (which are non-free) to replace the security provider from the OS. No changes are made to Play builds. The value of conscryptVersion in build.gradle should be updated regularly to keep the bundled version of conscrypt up to date (or changed to "latest.release", which will cause issues with verifying reproducible builds). Fixes: #2814 (for users of free builds)
Diffstat (limited to 'core/build.gradle')
-rw-r--r--core/build.gradle3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/build.gradle b/core/build.gradle
index 4c7ef5a0a..ee7441550 100644
--- a/core/build.gradle
+++ b/core/build.gradle
@@ -88,7 +88,8 @@ dependencies {
api "com.google.android.support:wearable:$wearableSupportVersion"
compileOnly "com.google.android.wearable:wearable:$wearableSupportVersion"
} else {
- System.out.println("core: free build hack, skipping some dependencies")
+ System.out.println("core: free build hack, skipping some dependencies and bundling conscrypt ("+"$conscryptVersion"+")")
+ implementation "org.conscrypt:conscrypt-android:$conscryptVersion"
}
testImplementation "org.awaitility:awaitility:$awaitilityVersion"