// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.0.0-alpha5'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
There are two modules to depend on: library and library-addition.
You should choose one to depend on, e.g.:
compile 'com.github.techery.progresshint:library:0.2.3'
Error:Module 'com.github.techery:progresshint:0.2.3' depends on one or more Android Libraries but is a jar
Grudle app file:
Grudle project file: