The dceTask.keep function is not working for me - ...
# javascript
d
The dceTask.keep function is not working for me - all of my functions are removed even though I am specifying to keep the class: https://github.com/darran-kelinske-fivestars/cordova-alternative-pattern/blob/master/BluetoothSerialJs/build.gradle#L14
i
I think, your js file in fact is
cordova-kelinske-fivestars-BluetoothSerialJs
So you need use this name in first place in keep declaration
d
will try that - thank you
that didn't work - where do we find the definition of dceTask
i
I see, you change default name for root project. So your valid
keep
declaration is
Copy code
<http://CordovaAlternativePattern-BluetoothSerialJs.com|CordovaAlternativePattern-BluetoothSerialJs.com>.fivestars.bluetooth.BluetoothSerial
Basic rule is
<root-project-name>-<project-name>(in fact js name).<package>.<declaration>
👍 1
@dazza5000 please tell me if it helps or doesn’t
❤️ 1
d
going to try now
That did it - thank you