cocos2d-build.gradle: API 'variant.getMergeAssets()' is obsolete and has been replaced with 'variant.getMergeAssetsProvider()'.
问题:升级AndroidStudio2.x To 3.x时,
Sync时警告:build.gradle: API 'variant.getMergeAssets()' is obsolete and has been replaced with 'variant.getMergeAssetsProvider()'.
解决:
改变
variant.mergeAssets.doLast { 为: variant.mergeAssetsProvider.get().doLast {