Gradle build.gradle code style -
is there code style gradle build.gradle files?
of course of study groovy pieces groovy rules apply, gradle dsl there conventions?
like putting plugin configuration right after apply
apply plugin: 'application' mainclassname = "com.example.mainclass" for maven used pom reference, putting <!-- build settings --> lastly section.
as build.gradle can grow quite long project, nice have standard construction references.
as far know there's no such specification. it's totally flexible, thought have mutual set rules among people work with. seek follow rules below
buildscript apply plugins configure plugins repositories dependencies other coding-style gradle
No comments:
Post a Comment