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


const val PACKAGE_ROOT: String (source)

Sets the package root for the generated code. (default: <application package>)

Attempts will be made to auto-detect the project package by using the class output directory and known/standard relative paths to various build files, but if necessary this option can be set instead.

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.root", "com.your.application")