You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/11/26 08:11:28 UTC

[GitHub] zhaoyi0113 opened a new issue #587: Doesn't support add customised `buildType`?

zhaoyi0113 opened a new issue #587: Doesn't support add customised `buildType`?
URL: https://github.com/apache/cordova-android/issues/587
 
 
   I am trying to add a new buildType in my android application. I edited `build-extras.gradle` as below
   ```
   android {
       buildTypes {
       
           staging {
               initWith release
           }
       }
   }
   ```
   After that the change is added to `platforms/android/build-extras.gradle` but the build will fail because  the module `platforms/android/CordovaLib/build.gradle` doesn't have such configuration. If I added the this configuration on `platforms/android/CordovaLib/build.gradle` manually, the command `cordova build android --release` will success but it doesn't generate the `staging` APK.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org