Answers for "add external jar to gradle project"

4

adding jar file gradle

dependencies {
    compile fileTree(dir: 'libs', include: '*.jar')
}
Posted by: Guest on August-05-2020
1

Gradle include external jar

repositories {
   flatDir {
       dirs 'libs'
   }
}


dependencies {
   implementation name: 'gson-2.2.4'
}
Posted by: Guest on March-20-2020

Browse Popular Code Answers by Language