-
Notifications
You must be signed in to change notification settings - Fork 305
Issue with gradle plugin 3.4.0 #383
Comments
Hey @kalyandechiraju do you have a stacktrace? |
It's just a compile-time error saying unable to resolve com.nytimes.android.external.store3.base.impl.Store Due to which my build is failing. |
Can you create a failing sample project? I'm unable to reproduce. Could be a proguard configuration you are using |
Sure. @digitalbuddha Here is a sample project running on AS Gradle plugin 3.4.1 and gradle 5.1.1 Check the Main Activity class (master branch) where the Store interface is not resolvable. Whereas in gradle3.3 branch running on gradle plugin 3.3.x and gradle 4.10.1, it's resolved properly. |
I've been able to reproduce this in the sample app as well. Both upgrading to AGP 3.4.1 or upgrading Gradle to 5.0> seems to cause compile errors. I will try to see if I can take a closer look at this. |
Any update on this? |
Any updates? |
Any workaround for this? I am not able to upgrade the gradle plugin due to this. |
I tried cloning the project and updating the Gradle plugin. After updating, Gradle sync fails with this error: Can anyone check this and take necessary action? Also, please confirm if this is the cause for the issue. |
Finally able to solve the issue by adding Store3 dependency in addition to store-kotlin3 dependency. implementation 'com.nytimes.android:store3:3.1.1' <-- Previously I dont have this dependency |
Just add com.nytimes.android:cache3:3.1.1 dependency |
When I update my gradle plugin version to 3.4.0, import com.nytimes.android.external.store3.base.impl.Store is not able to be resolved.
But it's working fine if I revert back to gradle plugin version 3.3.2.
Is this any problem with the library or just another plugin issue?
The text was updated successfully, but these errors were encountered: