简体   繁体   English

如何使用STS Eclipse将下载的插件添加到Grails项目中

[英]How to add downloaded plugins into grails project using STS Eclipse

I wonder, Is there any way to add downloaded plugins to project using STS(Sprint tool suite) like we have in intellj ide (add custom plugins) http://wiki.jetbrains.net/intellij/Managing_Grails_plugins 我想知道,有没有办法像我们在intellj ide(添加自定义插件)中那样使用STS(Sprint工具套件)将下载的插件添加到项目中

for example i have downloaded jasper plugins how would i add it into my grail project. 例如,我已经下载了jasper插件,如何将其添加到我的grail项目中。

Thanks in advance 提前致谢

In your BuildConfig.groovy file you can add the plugin. 您可以在BuildConfig.groovy文件中添加插件。

Merge the follwing in to the grails.project.dependency.resolution closure: 将以下内容合并到grails.project.dependency.resolution闭包中:

repositories{
  mavenRepo "https://repository.jboss.org/nexus/"
}

plugins {
 compile ":jasper:1.5.3"
}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM