Skip to content

Instantly share code, notes, and snippets.

@zskamljic
Created June 24, 2018 11:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zskamljic/17f5d5ffb776d8f8ad4a460a6b8e730b to your computer and use it in GitHub Desktop.
Save zskamljic/17f5d5ffb776d8f8ad4a460a6b8e730b to your computer and use it in GitHub Desktop.
void addDependencies() {
project.getRepositories().add(project.getRepositories().jcenter());
addAnnotationProcessor();
DependencyHandler dependencies = project.getDependencies();
dependencies.add("implementation", "com.lablizards.depend:depend:1.2.0");
dependencies.add("compileOnly", "com.lablizards.depend:depend-annotations:1.2.0");
dependencies.add("annotationProcessor", "com.lablizards.depend:depend-compiler:1.2.0");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment