1.下载gradle.plugin文件。
github地址:https://github.com/gretty-gradle-plugin/gretty
下载文件:https://github.com/gretty-gradle-plugin/gretty/blob/master/pluginScripts/gretty.plugin
2.在build.gradle文件使用
apply from: 'gradle.plugin'
3.运行:
gralde appRun
github地址:https://github.com/gretty-gradle-plugin/gretty
下载文件:https://github.com/gretty-gradle-plugin/gretty/blob/master/pluginScripts/gretty.plugin
apply from: 'gradle.plugin'
gralde appRun