Create a. Gradle file under the project file such as config.gradle

Set the configuration in this file

Ext {} For Android = [] For Android = [] for Android = [] for Android = [] for Android = []

< span style = “box-sizing: border-box! Important; word-wrap: break-word! Important;”

${Android [“name”]} ${Android [“name”]} ${Android [“name”]

three

Apply from: “config.gradle” to build. Gradle

four

Configuration can be directly under the module and the app after the completion of the build. Use your configuration information in the gradle with rootProject. Ext android. The name reference such as:

The third party relies on rootProject. Ext. Dependencies such as [” junit “]

And you’re done!