I want to use gradle plugin having this syntax
plugins {
id "id" version "version"
}
but i have the error of
only build script and other plugins script blocks are allowed before plugins
I moved it to the bloc buildscript but still not working.
How can i apply this kind of plugin ?
This is the plugin that I want to include in my project
gradle git properties plugin
and here is the output of my gradle version
Gradle 4.3.1
------------------------------------------------------------
Build time: 2017-11-08 08:59:45 UTC
Revision: e4f4804807ef7c2829da51877861ff06e07e006d
Groovy: 2.4.12
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…