转载地址:http://ask.android-studio.org/?/article/16 4.1. Prerequisites 前提条件Gradle requires a Java JDK or JRE to be installed, version 6 or higher (to check, use java -version). Gradle ships with its own Groovy library, therefore Groovy does not need to b…
转载地址:http://ask.android-studio.org/?/article/22 7.1. The Java plugin(Java插件) As we have seen, Gradle is a general-purpose build tool. It can build pretty much anything you care to implement in your build script. Out-of-the-box, however, it doesn't bu…
转载地址:http://ask.android-studio.org/?/article/15 3.1. Getting Started 入门The following tutorials introduce some of the basics of Gradle, to help you get started.<翻译> 接下来的教程介绍了一些帮助你入门的一些Gradle基础知识. Chapter 4, Installing Gradle 第四章,安装GradleDescribes how…
转载地址:http://ask.android-studio.org/?/article/11 6.1. Projects and tasks 项目和任务Everything in Gradle sits on top of two basic concepts: projects and tasks.<翻译> Gradle中的所有东西都是围绕两个基本概念:项目和任务. Every Gradle build is made up of one or more projects. What a…
转载地址:http://ask.android-studio.org/?/article/94 This chapter introduces the basics of the Gradle command-line. You run a build using the gradle command, which you have already seen in action in previous chapters.<翻译> 这一章介绍Gradle基础命令行.你可以使用gradle进行构建…