cordova plugin.xml framework replaces my build.gradle

251 Views Asked by At

I write as below

<framework src="platforms/android/IMKit" custom="true" />

But my build.gradle file under platforms/android/IMKit is replaced by cordova with its own one. How to avoid cordova replacing my build.gradle file.

1

There are 1 best solutions below

1
On

I renamed build.gradle to build-extras.gradle, then it is ok.