minSdkVersion issue

I have got some trouble with the configuration of minSdkVersion

if I build my application with ionic build android i get this error

C:\Program Files (x86)\Jenkins\workspace__temp-mobile-prev\platforms\android\AndroidManifest.xml:67:5 Error:
uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in library C:\Program Files (x86)\Jenkins\workspace__temp-mobile-prev\platforms\android\build\intermediates\exploded-aar\com.paypal.sdk\paypal-android-sdk\2.14.2\AndroidManifest.xml
Suggestion: use tools:overrideLibrary=“com.paypal.android.sdk.payments” to force usage

But I set the min sdk property inside config.xml

<platform name="android">
         <preference name="android-minSdkVersion" value="18"/>
         <preference name="android-targetSdkVersion" value="22"/>

and the generated AndroidManifest.xml inside platforms/android doesn’t look bad
<uses-sdk android:minSdkVersion="18" android:targetSdkVersion="22" />

It works if I overwrite gradle.build

      defaultConfig {
        minSdkVersion 18

But I don’t want to do that. Because I don’t want adjust this dynamic generated file.

In my appname-build-extras.gradle I had

// Minimum SDK Version
if (!project.hasProperty('cdvMinSdkVersion') || cdvMinSdkVersion < 15) {
    ext.cdvMinSdkVersion = 15;

So I changed it there !