You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following picture is my builde gradle parameters:
Output parameter diagram when executing kaptDebugKotlin task:
Output parameter diagram when executing hiltJavaCompileDebug task:
From the hiltJavaCompileDebug task, some project parameters are missing, which leads to errors in the judgment of project parameters obtained by Processors of other frameworks.
The following is one way to write the example. The temporary solution is to change other people's processing to prohibit throwing errors. I don't know why Hilt does not pass the project's arguments parameter.
The text was updated successfully, but these errors were encountered:
You should be able to workaround this by finding the task and applying the options:
// in a build.gradle.kts
tasks.withType<JavaCompile>().configureEach {
if (name.startsWith("hiltJavaCompile")) {
options.compilerArgs.add("-AModuleName=app")
}
}
The following picture is my builde gradle parameters:
Output parameter diagram when executing kaptDebugKotlin task:
Output parameter diagram when executing hiltJavaCompileDebug task:
From the hiltJavaCompileDebug task, some project parameters are missing, which leads to errors in the judgment of project parameters obtained by Processors of other frameworks.
The following is one way to write the example. The temporary solution is to change other people's processing to prohibit throwing errors. I don't know why Hilt does not pass the project's arguments parameter.
The text was updated successfully, but these errors were encountered: