summaryrefslogtreecommitdiff
path: root/core/build.gradle
diff options
context:
space:
mode:
authorMats Wahlberg <rcxslinger@gmail.com>2020-10-02 14:39:02 +0200
committerMats Wahlberg <rcxslinger@gmail.com>2020-10-02 14:39:02 +0200
commit06d212b911af1ce54e03c63bad69b99e938cb430 (patch)
treed1b458a300512894266fbb8ff7ccef6a24479eac /core/build.gradle
parent468acab8f45bc076806fe7f6bfde3585526f19ca (diff)
downloadAntennaPod-06d212b911af1ce54e03c63bad69b99e938cb430.zip
Use freeImplementation for including conscrypt in Free builds.
This removes the need for the -PfreeBuild flag to gradle, and makes assemblePlay and assembleDebug build all flavours without errors again. Changed circleci config back accordingly and removed comment about -PfreeBuild. Based on #4457.
Diffstat (limited to 'core/build.gradle')
-rw-r--r--core/build.gradle6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/build.gradle b/core/build.gradle
index e2ee3a0bd..71ad30ac1 100644
--- a/core/build.gradle
+++ b/core/build.gradle
@@ -88,10 +88,12 @@ 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 and bundling conscrypt ($conscryptVersion)")
- implementation "org.conscrypt:conscrypt-android:$conscryptVersion"
+ System.out.println("core: free build hack, skipping some dependencies")
}
+ // bundle conscrypt with free builds
+ freeImplementation "org.conscrypt:conscrypt-android:$conscryptVersion"
+
testImplementation "org.awaitility:awaitility:$awaitilityVersion"
testImplementation 'junit:junit:4.13'
testImplementation 'org.mockito:mockito-core:1.10.19'