Migrate frontend-maven-plugin from maven to gradle

前端 未结 2 1140
自闭症患者
自闭症患者 2021-02-05 12:07

I have a com.github.eirslett:frontend-maven-plugin in my maven project.


    com.github.eirslett         


        
2条回答
  •  遥遥无期
    2021-02-05 12:17

    Google found the Gradle Frontend Plugin for me. The plugin description simply says:

    Set of tasks which wraps common frontend-tools and provide its binaries.

    The documentation (as at March 2016) describes the 4 tasks (installnode, npm, grunt and gulp) and examples of their use.


    An alternative (provided by @Timofei) is the Gradle Plugin for Node. The description says:

    This plugin enables you to use NodeJS-based technologies as part of your build without having NodeJS installed locally on your system. It integrates Gradle with NodeJS, Yarn, Grunt, and Gulp.

    (Edited for clarity)

    Note that this plugin's Github repo is active while the previous one hasn't had any commits in the last two years.

提交回复
热议问题