Giter VIP home page Giter VIP logo

Comments (8)

Ornolfr avatar Ornolfr commented on June 12, 2024 1

@kirtan403 are you using Instant Run? I don't, and it builds much longer any time I change any code in the class where these annotations are present. Maybe it has something to do with annotation processor? Like, maybe it's because we're not using annotationProcessor/kapt for this lib but classpath for project gradle file and applying the plugin?

from quickpermissions.

kirtan403 avatar kirtan403 commented on June 12, 2024

For the first time, yes. But sub-sequence builds should be fast.

from quickpermissions.

kirtan403 avatar kirtan403 commented on June 12, 2024

Yes, if you are changing the file annotation is present, it will take some time. But I don't think it should re compile all the files. It will just recompile the file which is changed. So It should not take too much time as you are saying. I have tested it and after initial compilation, it worked pretty fast, even If I modified the file which contains the annotation.

from quickpermissions.

MrBIMC avatar MrBIMC commented on June 12, 2024

I have the same issue, Kotlin project, instant run disabled, compilation times decreased drammatically. At least by minute. That's super annoying :(

from quickpermissions.

kirtan403 avatar kirtan403 commented on June 12, 2024

@MrBIMC I think you mean compilation time increased. Yes, that takes some time to process your files. I have tried a few optimizations but failed to make it work. I can understand the pain as Me too have gone through it. But I am trying and If I get it work, I'll surely post it.

from quickpermissions.

Corical avatar Corical commented on June 12, 2024

Same here, add 40 seconds to build time this side, considering going back to what I had, can't waste time like this. Also don't do instant run, I have my reasons. Actually quite ironic, if you look at the name. Also it is probably worth mentioning on the info page, although you might save time to initially do the permission implementation, you will pay indefinitely (in time) per build.

from quickpermissions.

kirtan403 avatar kirtan403 commented on June 12, 2024

@Ornolfr @MrBIMC @Corical I have a good news to all of you. If you are using kotlin, you can use the new QuickPermissions-Kotlin that works out of the box without any gradle plugins and works with instant run.

from quickpermissions.

MrBIMC avatar MrBIMC commented on June 12, 2024

Amazing, thank you!

from quickpermissions.

Related Issues (14)

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.