Coder Social home page Coder Social logo

Comments (4)

arunkumar9t2 avatar arunkumar9t2 commented on July 22, 2024

Thanks, noted. Will target a fix for 0.3.1.

from scabbard.

arunkumar9t2 avatar arunkumar9t2 commented on July 22, 2024

I took at shot at this in #53 but it is not fully fixed yet.

New behaviors

  1. Scabbard will lazily apply its dependencies only when the configuration is resolved and dagger is present in the project.
  2. For Java projects, compiler arguments will be added lazily and only if dagger is there.
  3. Kapt is a different story
    • Kapt eagerly evaluates and applies the kapt arguments during plugin application. This means I have to pass arguments very early but at that time dependencies might not be available. Technically I can do configuration.dependencies.all {} or whenObjectAdded but that cause eager evaluation and I want to avoid it for now. Created https://youtrack.jetbrains.com/issue/KT-39521
    • I thought The following options were not recognized by any processor warning was spit out based on supported options alone but it seems to check for supportedTypes as well. Checking for dagger presence alone might not be sufficient to avoid this error. Failing functional test.

I will keep this open and look for any workaround.

from scabbard.

arunkumar9t2 avatar arunkumar9t2 commented on July 22, 2024

Update: I saw this JetBrains/kotlin@19708cf and also now Kapt options are using provider instead of evaluating eagerly. I will investigate if this can be fixed soon,

from scabbard.

ruieduardosoares avatar ruieduardosoares commented on July 22, 2024

@arunkumar9t2 i also have this issue an nothing is being generated in kapt3/classes/ folder.
image

from scabbard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.