Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.dbenrosen:EtherPay:V4.01'
}
dependencies {
implementation("com.github.dbenrosen:EtherPay:V4.01")
}
<dependency>
<groupId>com.github.dbenrosen</groupId>
<artifactId>EtherPay</artifactId>
<version>V4.01</version>
</dependency>
libraryDependencies += "com.github.dbenrosen" % "EtherPay" % "V4.01"
:dependencies [[com.github.dbenrosen/EtherPay "V4.01"]]
Ether Wallet app for Android
The EtherPay app uses a batch of open source libraries. Most of these are downloaded directly from MavenCentral from the build.gradle. These include:
https://mvnrepository.com/artifact/com.madgag.spongycastle/core https://mvnrepository.com/artifact/commons-codec/commons-codec https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 https://mvnrepository.com/artifact/org.slf4j/slf4j-android https://github.com/kenglxn/QRGen
The project also incorporates source code from another two open source projects:
ZBarAndroidSDK Fyi, that source code is released under an apache, v2 license. Also fyi, I got the source code from: https://github.com/chentao0707/ZBarAndroidSDK/archive/master.zip
and, ethereumj-core Fyi, that source code is released under an MIT license. Also fyi, I got the source code from: https://github.com/ethereum/ethereumj
This is all just info; the source code for both projects is incorporated into the project, and rebuilt.