Я добавляю зависимости, как показано ниже, но они также включают слишком много ненужных банок
dependencies {
// Add all the jar dependencies from the lib folder.
compile fileTree(dir: '../lib', include: ['/**/*.jar'])
}
Итак, я взял что-то, как показано ниже.
dependencies {
// Add all the jar dependencies from the lib folder.
compile fileTree(
dir: '../lib',
includes: [
'commons-codec-1.11/commons-codec-1.11.jar',
'ehcache-2.10.5/ehcache-2.10.5.jar',
'json/json.jar',
'...so on...'
])
}
есть ли что-нибудь лучше как управлять этими includes
зависимостями?