gradle - Difference apply from vs apply plugin -


is there difference except that:

apply from: - gets (plugin).gradle url

apply plugin: - gets (plugin).gradle gradle plugin server

edit - answer:

apply plugin: calls plugin.apply() interface, while apply from: calls script directly

the actual difference between apply from: , apply plugin: former used script plugins given path local file system or url remote location, , later binary plugins using plugin id.

you can read more in gradle documentation here.


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -