From c43cea7492903d3b8fd9544a77f650e642bbe6ae Mon Sep 17 00:00:00 2001 From: n8fr8 <nathan@freitas.net> Date: Fri, 29 Apr 2022 10:44:41 -0400 Subject: [PATCH] update gradle to support local build of AAR file for testing/dev --- build.gradle | 3 +++ sampletorapp/build.gradle | 1 + 2 files changed, 4 insertions(+) diff --git a/build.gradle b/build.gradle index ec2738b5..3e8527a9 100644 --- a/build.gradle +++ b/build.gradle @@ -13,5 +13,8 @@ allprojects { repositories { mavenCentral() google() + flatDir { + dirs 'libs' + } } } diff --git a/sampletorapp/build.gradle b/sampletorapp/build.gradle index 8f7ab556..2ea7b7f8 100644 --- a/sampletorapp/build.gradle +++ b/sampletorapp/build.gradle @@ -25,6 +25,7 @@ android { dependencies { implementation 'info.guardianproject:tor-android:0.4.6.7' +// implementation (name:'tor-android-binary-release',ext:'aar') //use this if you want to test your local AAR build implementation 'info.guardianproject:jtorctl:0.4.5.7' implementation 'androidx.appcompat:appcompat:1.0.0' } -- GitLab