question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Compatibilty issue with KSP

See original GitHub issue

Hi, I’m trying out the experimental ksp because of moshi-ksp; and using Anvil, but after I apply anvil plugin it complains

> Task :app:kspDebugKotlin FAILED
e: Required plugin option not present: com.squareup.anvil.compiler:src-gen-dir

Plugin "com.squareup.anvil.compiler" usage:
  src-gen-dir <file-path>    Path to directory in which Anvil specific code should be generated (required)
  generate-dagger-factories <true|false>
                             Whether Anvil should generate Factory classes that the Dagger annotation processor would generate for @Provides methods and @Inject constructors.


e: Required plugin option not present: com.squareup.anvil.compiler:src-gen-dir

I don’t even need to have any anvil specific code present, just apply the plugin and it won’t compile

Minimal repro: https://github.com/ursusursus/AnvilRepro2/blob/master/app/build.gradle

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14

github_iconTop GitHub Comments

0reactions
vRallevcommented, Jan 27, 2021

A workaround has been merged into KSP: https://github.com/google/ksp/pull/270

Read more comments on GitHub >

github_iconTop Results From Across the Web

I have compatibility problems with the Kopernicus mod. - Reddit
I have compatibility problems with the Kopernicus mod. KSP says that Kopernicus continued is not compatible with 1.10.1. What can I do?
Read more >
Houston, we have a Problem! Troubles with ksp 1.4.5 mods ...
So, I have an interesting problem. "Unfortunately TweakScale found 6 **FATAL** issue(s) on your KSP installment! This probably will corrupt ...
Read more >
CKAN Compatibility issue with 1.8.0 2686 #6 - GitHub
I tried to install KAX with CKAN, both with and without Firespitter (but with Firespitter Core and Firespitter Resources config successfully ...
Read more >
Kontakt 3 KSP compatibility issue | VI-CONTROL
Hi! The $ENGINE_PAR_EFFECT_TYPE_TABLE has changed in K3: [pre]Kontakt 2 Kontakt 3 [0] := "None" [0] := "None"
Read more >
how do i enable AMD compatibility mode? [FIXED]
is there a way to do this without using the KSP launcher? ... In the ADVANCED options, BUT it's only a FIX for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found