11.2. 機能を無効にする
デフォルトで有効になっている機能を無効にするには、次のコマンドを入力します。
bin/kc.[sh|bat] build --features-disabled="<name>[,<name>]"
bin/kc.[sh|bat] build --features-disabled="<name>[,<name>]"
たとえば、impersonation
を無効にするには、次のコマンドを入力します。
bin/kc.[sh|bat] build --features-disabled="impersonation"
bin/kc.[sh|bat] build --features-disabled="impersonation"
次のコマンドを入力すると、デフォルトの機能をすべて無効にできます。
bin/kc.[sh|bat] build --features-disabled="default"
bin/kc.[sh|bat] build --features-disabled="default"
このコマンドを features
と組み合わせて使用すると、どの機能を使用可能にするかを明示的に設定できます。機能が features-disabled
リストと features
リストの両方に追加された場合、その機能は有効になります。