Giriş
Açıklaması şöyle
The buildScript block determines which plugins, task classes, and other classes are available for use in the rest of the build script. Without a buildScript block, you can use everything that ships with Gradle out-of-the-box. If you additionally want to use third-party plugins, task classes, or other classes (in the build script!), you have to specify the corresponding dependencies in the buildScript block.
Yani buraya plugin ve diğer bağımlılıklar tanımlarnı
Örnek - plugin tanımlama
Şöyle yaparız
buildscript {dependencies {classpath(group: 'com.foo', name: 'my-plugin', version: '3.3.0') {transitive = true}}}