Centos7-安装Gradle4.10
Posted mascot1
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Centos7-安装Gradle4.10相关的知识,希望对你有一定的参考价值。
1.下载
官方安装文档:https://gradle.org/install/
官方下载地址:http://services.gradle.org/distributions/gradle-4.10-bin.zip
2.安装配置
unzip gradle-4.10-bin.zip -d /usr/local/ [[email protected] gradle-4.10]# tail -5 /etc/profile export M2_HOME=/usr/local/apache-maven-3.6.0 export NODE_HOME=/usr/local/node-v10.13.0-linux-x64 export GRADLE_HOME=/usr/local/gradle-4.10 export PATH=$PATH:$M2_HOME/bin:$NODE_HOME/bin:$GRADLE_HOME/bin [[email protected] gradle-4.10]# source /etc/profile [[email protected] gradle-4.10]# gradle -v Welcome to Gradle 4.10! Here are the highlights of this release: - Incremental Java compilation by default - Periodic Gradle caches cleanup - Gradle Kotlin DSL 1.0-RC3 - Nested included builds - SNAPSHOT plugin versions in the `plugins {}` block For more details see https://docs.gradle.org/4.10/release-notes.html ------------------------------------------------------------ Gradle 4.10 ------------------------------------------------------------ Build time: 2018-08-27 18:35:06 UTC Revision: ee3751ed9f2034effc1f0072c2b2ee74b5dce67d Kotlin DSL: 1.0-rc-3 Kotlin: 1.2.60 Groovy: 2.4.15 Ant: Apache Ant(TM) version 1.9.11 compiled on March 23 2018 JVM: 1.8.0_181 (Oracle Corporation 25.181-b13) OS: Linux 3.10.0-514.el7.x86_64 amd64
以上是关于Centos7-安装Gradle4.10的主要内容,如果未能解决你的问题,请参考以下文章
Android 插件化VirtualApp 源码分析 ( 目前的 API 现状 | 安装应用源码分析 | 安装按钮执行的操作 | 返回到 HomeActivity 执行的操作 )(代码片段