小白,想问一下。。。运行built.gradle程序后项目报了如下错误该怎么办!
CONFIGURE FAILED in 10s
FAILURE: Build failed with an exception.
startup failed:
build file 'D:\halo-master\build.gradle': 2: only buildscript {} and other plugins {} script blocks are allowed before plugins {} blocks, no other statements are allowed
See https://docs.gradle.org/5.6.2/userguide/plugins.html#sec:plugins_block for information on the plugins {} block
@ line 2, column 1.
plugins {
^
1 error
BUILD FAILED in 163ms