1# AAOS AConfig gradle Plugin
2This plugin is copied over from:
3```
4$ANDROID_BUILD_TOP/packages/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/buildSrc/src/main/java/
5```
6
7This gradle plugin generates Trunk-stable Flag helper classes.
8
9## Using in module's build.gradle
10Add `id 'aconfig'` in plugins blocks and specify `packageName` and `.aconfig src file`
11For example:
12```
13plugins {
14    id 'aconfig'
15}
16
17aconfig {
18    aconfigDeclaration {
19        packageName.set("com.example.package.name")
20        srcFile.setFrom(files("some_flags.aconfig"))
21    }
22}
23```
24