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
Having upper case factory-style function names cause compilation errors.
I created a quick example here: PaulWoitaschek@1d443c1
The stacktrace is as follows:
➜ anvil git:(anvil_name_hickup) ./gradlew sample:library:assembleWatching the file system is an incubating feature.Received 15 file system events since last buildVirtual file system retained information about 5291 files, 1326 directories and 38 missing files since last buildConfiguration on demand is an incubating feature.
> Configure project :Versions: [Kotlin:1.3.72, Gradle:6.6.1, Kotlin use IR:false, Kotlin IR supported:false]
> Task :sample:library:compileKotlin FAILEDe: /home/paul/repos/anvil/sample/library/build/anvil/src-gen-compileKotlin/com/squareup/anvil/sample/hello/HelloModule_UserFactory.kt: (10, 49): Unresolved reference: Usere: /home/paul/repos/anvil/sample/library/build/anvil/src-gen-compileKotlin/com/squareup/anvil/sample/hello/HelloModule_UserFactory.kt: (11, 32): Unresolved reference: Usere: /home/paul/repos/anvil/sample/library/build/anvil/src-gen-compileKotlin/com/squareup/anvil/sample/hello/HelloModule_UserFactory.kt: (17, 22): Unresolved reference: UserFAILURE: Build failed with an exception.* What went wrong:Execution failed for task ':sample:library:compileKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleKotlinCompilerWork > Compilation error. See log for more details* Try:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.* Get more help at https://help.gradle.orgDeprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.Use '--warning-mode all' to show the individual deprecation warnings.See https://docs.gradle.org/6.6.1/userguide/command_line_interface.html#sec:command_line_warningsBUILD FAILED in 733ms14 actionable tasks: 1 executed, 13 up-to-dateReceived 2 file system events for current buildVirtual file system retains information about 5294 files, 1334 directories and 38 missing files till next build
The text was updated successfully, but these errors were encountered:
Having upper case factory-style function names cause compilation errors.
I created a quick example here:
PaulWoitaschek@1d443c1
The stacktrace is as follows:
The text was updated successfully, but these errors were encountered: