Dotted properties in Gradle

You can use dotted properties, but I don’t recommend it. You will have to use special syntax for accessing them in the build script, and they don’t translate to nested properties. Dotted properties are less needed in Gradle than Ant because:

  • A typical Gradle build has far fewer user-defined properties because Gradle has an extensive build (object) model

  • User-defined properties can not just be defined on ‘project’ but also on nested objects. (Search for extra properties in the Gradle User Guide.)