Is there a way to setup gradle version for cordova project in visual studio?
build.gradle file contains the following string:
classpath 'com.android.tools.build:gradle:1.5.0'
But I need:
classpath 'com.android.tools.build:gradle:2.1.0'
No. We do not directly expose this setting in our tools. However, you can manually configure the platform to use a different version of Gradle. Please see the Apache documentation, here:
https://cordova.apache.org/docs/en/latest/guide/platforms/android/
(Disclosure: I work on the tools for apache Cordova in visual studio at Microsoft)