realm-java: in android studio 3.0 Warnings:Transform 'RealmTransformer' uses scope PROJECT_LOCAL_DEPS which is deprecated and replaced with EXTERNAL_LIBRARIES error

I regaled realm with android studio 2.7, it worked fine, but after upgrading to android studio 3.0 gradle gives warnings `Warning:Transform ‘RealmTransformer’ uses scope PROJECT_LOCAL_DEPS which is deprecated and replaced with EXTERNAL_LIBRARIES

Warning:Transform 'RealmTransformer' uses scope SUB_PROJECTS_LOCAL_DEPS which is deprecated and replaced with EXTERNAL_LIBRARIES
Warning:Transform 'RealmTransformer' uses scope PROJECT_LOCAL_DEPS which is deprecated and replaced with EXTERNAL_LIBRARIES
Warning:Transform 'RealmTransformer' uses scope SUB_PROJECTS_LOCAL_DEPS which is deprecated and replaced with EXTERNAL_LIBRARIES
Warning:Transform 'RealmTransformer' uses scope PROJECT_LOCAL_DEPS which is deprecated and replaced with EXTERNAL_LIBRARIES
Warning:Transform 'RealmTransformer' uses scope SUB_PROJECTS_LOCAL_DEPS which is deprecated and replaced with EXTERNAL_LIBRARIES

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 34
  • Comments: 26 (13 by maintainers)

Most upvoted comments

waiting for the fix 🙏

I talked about this warnings with Xav (tech lead of android tools team) at this Google I/O and he said that android gradle plugin should not print warnings against Scope.PROJECT_LOCAL_DEPS and Scope.SUB_PROJECTS_LOCAL_DEPS if the scope set contains Scope.EXTERNAL_LIBRARIES.

He said that he would suppress those warnings in alpha2 plugin when above conditions are satisfied.

I confirmed that 3.0.0-alpha4 does not generate these warnings. I’m closing this issue.

just ignore the warning and waiting for the fix guys. I’m still facing this problem on Android Studio 3.0 Canary 3

Thanks for pointing this out, @yombunker , @Axrorxoja . We had very little warning about this breaking change. We’ll have a release to fix the problem ASAP.