ARouter icon indicating copy to clipboard operation
ARouter copied to clipboard

Gradle 7.0.3 中 compile option 如何配置

Open xiaomanwong opened this issue 4 years ago • 1 comments

Look at here

  • → Did you read the doc carefully
  • → Did you add annotation above target activity
  • → Did you add annotation processor dependence
  • Receive only bugs and suggestions

提 issue 前请看

  • → 你是否已经熟读 README
  • → 你是否在每一个包含页面 or 服务的模块中依赖了 compiler sdk
  • 这里不是答疑的地方,仅接受 bug 和建议,答疑请去答疑群

xiaomanwong avatar Dec 02 '21 09:12 xiaomanwong

Java:

javaCompileOptions {
     annotationProcessorOptions {
          arguments += [ AROUTER_MODULE_NAME : "xxxx"]
     }
}

kotlin

kapt {
    arguments {
        arg("AROUTER_MODULE_NAME", "xxxxx")
    }
}

feicien avatar Feb 23 '22 06:02 feicien