Grails 3.0 adding an inline plugin

﹥>﹥吖頭↗ 提交于 2019-12-03 21:01:16

Inplace plugins have been replaced by multi project Gradle builds. See the Grails 3 functional test suite for an example https://github.com/grails/grails3-functional-tests

Recently I used an inline plugin in my grails 3 application. here is how I did it-

  1. Make sure that your application and your plugin are on same parent directory.
  2. Now go to build.gradle file of your application.
  3. Add this line in dependencies:
    compile project(':plugin_name')
  4. Now go to settings.gradle file on your application and append these lines:
    include 'plugin_name'
    project(':plugin_name').projectDir = new File('absolute_path_of_pluin')
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!