Make it easier to use a local copy/build of the client library

This commit is contained in:
str4d
2014-08-15 01:49:45 +00:00
parent 550525bc70
commit b7d10122ba
2 changed files with 17 additions and 4 deletions

View File

@@ -46,6 +46,12 @@ 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`:
```
localFileRepoDir=/path/to/folder
```
### Building from the command line
1. Create a `local.properties` file in `i2p.i2p-bote.android` containing:

View File

@@ -8,11 +8,18 @@ buildscript {
}
}
if (hasProperty('localFileRepoDir')) {
allprojects {
repositories {
flatDir {
dirs file(localFileRepoDir)
}
}
}
}
allprojects {
repositories {
// flatDir {
// dirs file("${project.rootDir}/aars")
// }
mavenCentral()
}
}
}