From f1e46749c3ab90d3634f56c94c508b6168663486 Mon Sep 17 00:00:00 2001 From: str4d Date: Sun, 2 Nov 2014 01:42:21 +0000 Subject: [PATCH] Use mavenLocal() repository instead of a local file repo --- README.md | 5 +++-- build.gradle | 11 +---------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index fa17008..26c377a 100644 --- a/README.md +++ b/README.md @@ -46,10 +46,11 @@ Gradle will pull dependencies over the clearnet by default. To use Tor, create a botesrc=/path/to/i2p.i2p-bote ``` -5. If you want to use a local copy of the I2P Android client library, place it in a folder and add the following line to your `~/.gradle/gradle.properties`: +5. If you want to use a local copy of the I2P Android client library, install it in your local Maven repository with: ``` - localFileRepoDir=/path/to/folder + cd path/to/i2p.android.base + ./gradlew client:installArchives ``` ### Building from the command line diff --git a/build.gradle b/build.gradle index dc72041..e5ce70b 100644 --- a/build.gradle +++ b/build.gradle @@ -8,18 +8,9 @@ buildscript { } } -if (hasProperty('localFileRepoDir')) { - allprojects { - repositories { - flatDir { - dirs file(localFileRepoDir) - } - } - } -} - allprojects { repositories { + mavenLocal() mavenCentral() } }