Moritz Halbritter's Personal Blog
Google Keyczar is a framework for cryptography in Java and other languages. Unfortunately they don’t upload their artefacts to Maven Central and don’t provide documentation on how to add Keyczar to your Maven or Gradle project.
To add Keyczar to Gradle, add the following in your build.gradle
:
repositories {
// ...
maven {
url 'https://raw.githubusercontent.com/google/keyczar/master/java/maven/'
}
}
dependencies {
compile 'org.keyczar:keyczar:0.66'
}
This adds the Keyczar Maven repository, which is hosted on GitHub and adds a dependency on Keyczar 0.66.