agrosner / DBFlow

A blazing fast, powerful, and very simple ORM android database library that writes database code for you.
MIT License
4.87k stars 598 forks source link

Annotation processors must be explicitly declared now. #1660

Closed munl closed 3 years ago

munl commented 5 years ago

ISSUE_TEMPLATE

DBFlow Version: 3.1.1

Bug or Feature Request: Bug

Description: I'm trying to build my app but I'm getting the following error:

Annotation processors must be explicitly declared now. The following dependencies on the compile classpath are found to contain annotation processor. Please add them to the annotationProcessor configuration.

Alternatively, set android.defaultConfig.javaCompileOptions.annotationProcessorOptions.includeCompileClasspath = true to continue with previous behavior. Note that this option is deprecated and will be removed in the future.

aguitto commented 5 years ago

The issue is that Gradle is downloading 2 versione of dbflow-core lib

Download https://jitpack.io/com/github/Raizlabs/DBFlow/dbflow-core/3.1.1/dbflow-core-3.1.1.jar Download https://jitpack.io/com/github/Raizlabs/DBFlow/dbflow-core/dbflow-core/3.1.1/dbflow-core-3.1.1.jar

The first one has the of 22 bytes instead of the second one which have the size of 44 Kb. The second is the right one but i think there are some problems in dependecies path.

Ha some one a fix to this issue?

agrosner commented 3 years ago

newer versions of the library are supported. did you try using a newer version?