eclipseで動作していたソースをintellijに移行しています。
そのとき、gradle.buildファイルの以下の箇所でエラーが発生します。
buildscript {
ext {
springBootVersion = '1.4.1.RELEASE'
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
dependeciesの箇所でdependencies cannot be applied to (groovy.lang.Closure)と怒られるのですが、何が原因なのでしょうか?
ちなみにネットを見ると、
Preferences -> Build, Execution, Deployment -> Build Tools -> Gradleで
パスを設定すればよいと書かれてますが、私の環境では何もいじることができない状態です。
あなたの回答
tips
プレビュー