greenrobot / greenDAO

greenDAO is a light & fast ORM solution for Android that maps objects to SQLite databases.
http://greenrobot.org/greendao/
12.63k stars 2.89k forks source link

Greendao tasks should declare inputs and outputs #1075

Open runningcode opened 3 years ago

runningcode commented 3 years ago

In order to enable up-to-date checks in Gradle. The greendao Gradle task should define inputs and outputs.

This will speed up builds.

Here is some more information on how to declare inputs and outputs in the Gradle task. https://docs.gradle.org/current/userguide/more_about_tasks.html#sec:up_to_date_checks

If the Gradle plugin sources were available somewhere, I would love to contribute this feature.

takeseem commented 2 years ago

can't find the greendao gradle pulgin source...

jepack commented 8 months ago

Where can I find the plugin source code? We are using gradle 7.0, the greendao run generator every time but not use the cached classes. It slow down the speed of build seriously. Is it possible to provide the plugin source code? If we can not resolve it, we have to remove greendao, it will cost a long time for a great project.