gradle import local directory code example
Example 1: adding jar file gradle
dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
}
Example 2: Gradle include external jar
repositories {
flatDir {
dirs 'libs'
}
}
dependencies {
implementation name: 'gson-2.2.4'
}