找不到参数Gradle的方法compile()
现在,寻找这种解决方案的时间已经太久了,我不确定是错过了还是只是输错了什么,但是我的Gradle脚本无法编译。我正在迁移到Gradle,并且对它很陌生。我已经非常习惯于使用Maven进行依赖管理,但是Gradle似乎对我来说最好。通过运行以下代码段: dependencies { compile group: 'org.bukkit', name: 'bukkit', version: '1.7.9-R0.1-SNAPSHOT' compile('io.ibj:MattLib:1.1-SNAPSHOT') { exclude group: 'de.bananaco' exclude 'net.milkbowl:vault:1.2.27' } compile group: 'net.citizensnpcs', name: 'citizens', version: '2.0.12' compile group: 'com.sk89q', name: 'worldedit', version: '5.6.1' compile group: 'com.sk89q', name: 'worldguard', version: '5.9' compile group: 'net.milkbowl', name: 'vault', version: '1.2.12' compile fileTree(dir: 'libs', includes: …