gh-pages / com.nextfaze.devfun.compiler / PACKAGE_SUFFIX


const val PACKAGE_SUFFIX: String (source)

Sets the package suffix for the generated code. (default: devfun_generated)

This is primarily for testing purposes to allow multiple generations in the same classpath.

Final output package will be: PACKAGE_ROOT.<variant?>.PACKAGE_SUFFIX

<variant?> will be omitted if both packageRoot and packageSuffix are provided.

Set using APT options:

android {
     defaultConfig {
         javaCompileOptions {
             annotationProcessorOptions {
                 argument("devfun.package.suffix", "custom.suffix")