官术网_书友最值得收藏!

Gradle

We must also have Gradle installed on our system. Gradle is a modern build tool that got popularity with Android. It uses Groovy-based DSL instead of XML files and mixes declarative and imperative type of build configuration. With Gradle you can define dependencies and project properties, and also you can write functions. We will leverage Gradle to build our deployment system, so with only one command we will be able to deploy all our software to cloud.

Throughout the book, we will use the Gradle wrapper that locks the Gradle version for the project, thus providing integrity between different teams. However, in order to run the gradle wrapper task, which will create the gradle wrapper files in our project, we have to have at least one Gradle version locally in our system.

If you do not have it already, execute the following:

    $ curl -s https://get.sdkman.io | bash  

Then, open a new terminal and type this:

    $ sdk install gradle 2.14  

This will install the Gradle 2.14 version.

主站蜘蛛池模板: 桃江县| 太仓市| 昌邑市| 阳朔县| 灌阳县| 北安市| 报价| 隆德县| 贵阳市| 怀宁县| 灵台县| 金堂县| 石渠县| 兴化市| 屏东县| 宁津县| 延吉市| 陇川县| 政和县| 乡城县| 阳曲县| 铁力市| 旌德县| 临清市| 上高县| 敦煌市| 屏边| 云南省| 油尖旺区| 浦江县| 祥云县| 同心县| 银川市| 桃园市| 临猗县| 凤城市| 大港区| 宁晋县| 乐亭县| 谢通门县| 彰化市|