Below is the code snippet in groovy DSL:
plugins {
id("com.github.johnrengelman.shadow") version "5.2.0"
}
that is difficult for me to understand, if below is the corresponding scripted syntax:
plugins({
id(
{
"com.github.johnrengelman.shadow",
version("5.2.0")
}
)
})
How to translate a DSL syntax to scripted syntax? Because scripted syntax is more readable syntax for me.