@monaca/monaca-plugin-android-compile-sdk-ver

1.0.0 • Public • Published

Android Compile SDK Version Setting Plugin for monaca

The plugin sets the compile SDK version for build.gradle when building Android apps.

By default, the compile SDK version is set to the same value as the target SDK version. This plugin allows you to set the compile SDK version to a different value than the target SDK version.

Compile SDK version value should be set to the target SDK version value or above. compileSdkVersion >= targetSdkVersion

Supported Platforms

  • cordova-android@10.0.0 or later

Setting the Compile SDK Version

The COMPILE_SDK_VERSION value can be set by the following way.

  • Use with Cordova CLI

Set the COMPILE_SDK_VERSION value by --variable option.

cordova plugin add @monaca/monaca-plugin-android-compile-sdk-ver --variable COMPILE_SDK_VERSION=31

Default value: 31

License

see LICENSE

Package Sidebar

Install

npm i @monaca/monaca-plugin-android-compile-sdk-ver

Weekly Downloads

0

Version

1.0.0

License

Apache-2.0

Unpacked Size

16.2 kB

Total Files

6

Last publish

Collaborators

  • asial-hirose
  • atakuya
  • asialfujiwara
  • knight9999
  • masahirotanaka
  • yongsopheaktra
  • monaca-user
  • erisu