could not find method compile() for arguments

后端 未结 2 1774
独厮守ぢ
独厮守ぢ 2020-12-09 10:14

I\'m trying to execute some .sql scripts and then deploy web app using gradle tomcat plugin.

But when I make any attempt to run gradl

2条回答
  •  没有蜡笔的小新
    2020-12-09 11:03

    The build script is mixing up buildscript dependencies (i.e.

    1. dependencies of the build itself; typically this means Gradle plugins
    2. with regular dependencies (i.e. dependencies of the code to be compiled/run).

    2 needs to go into dependencies { ... }, not into buildscript { dependencies { ... } }.

    Everything but the classpath dependencies are regular dependencies.

提交回复
热议问题