performance - Android Studio Build Time with Gradle dependency vs Jar dependency -
i working in product in using 4 external libraries. of these libraries being included through external jars. build time jar dependencies 10 minutes. changed jar dependencies gradle dependencies , build time came 3.5 minutes.
dependencies before (10 minutes build time)
compile filetree(dir: '../../dml/lib', include: ['handlebars-proto-4.0.6.jar']) compile filetree(dir: '../../dml/lib', include: ['itextpdf-5.5.11.jar']) compile filetree(dir: '../../dml/lib', include: ['xmlworker-5.5.11.jar']) compile filetree(include: ['joda-time-2.4.jar'], dir: '../../stdlib_java/lib')
i changed gradle dependencies (3 minutes 40 seconds build time)
compile 'com.itextpdf:itextpdf:5.5.6' compile 'com.itextpdf.tool:xmlworker:5.5.11' compile group: 'com.github.jknack', name: 'handlebars', version: '4.0.6' compile 'net.danlew:android.joda:2.9.9'
will please clear confusion whats going on inside ?
Comments
Post a Comment