gh-pages / com.nextfaze.devfun.compiler / PACKAGE_SUFFIX
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.
- If this is null (unset) PACKAGE_SUFFIX_DEFAULT will be used.
- If this is empty the suffix will be omitted.
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")
}
}
}
}