码迷,mamicode.com
首页 > 其他好文 > 详细

IDEA 配置Gradle编译工具

时间:2018-06-13 17:18:49      阅读:213      评论:0      收藏:0      [点我收藏+]

标签:dep   uil   rev   oracle   imp   gradle   version   win   publish   

  1. 下载解压自己需要的gradle版本:https://gradle.org/releases/(免安装)技术分享图片
  2. 配置环境变量技术分享图片

  3. 打开命令窗口,输入 gradle -v技术分享图片

  4. IDEA配置gradle:file->settings->gradle技术分享图片

  5. file->other->settings->default settings技术分享图片

  6. 验证安装
C:\Users\Administrator>gradle -v

Welcome to Gradle 4.5!

Here are the highlights of this release:
 - Dependency locking
 - Maven Publish and Ivy Publish plugins improved and marked stable
 - Incremental annotation processing enhancements
 - APIs to configure tasks at creation time

For more details see https://docs.gradle.org/4.5/release-notes.html


------------------------------------------------------------
Gradle 4.5
------------------------------------------------------------

Build time:   2018-06-04 10:39:58 UTC
Revision:     9e1261240e412cbf61a5e3a5ab734f232b2f887d

Groovy:       2.4.12
Ant:          Apache Ant(TM) version 1.9.11 compiled on March 23 2018
JVM:          1.8.0_121 (Oracle Corporation 25.121-b13)
OS:           Windows 10 10.0 amd64

C:\Users\Administrator>

原文地址:https://www.cnblogs.com/bunana/p/8532510.html

IDEA 配置Gradle编译工具

标签:dep   uil   rev   oracle   imp   gradle   version   win   publish   

原文地址:https://www.cnblogs.com/boonya/p/9178646.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!