Solutions
Multiplatform
Server-side
Data science
Android
Docs
Community
Teach
Play
Playground
Examples
Koans
toggle menu
Kotlin Gradle Plugins API reference
2.1.0
jvm
switch theme
compose-compiler-gradle-plugin
org.
jetbrains.
kotlin.
compose.
compiler.
gradle
Compose
Compiler
Gradle
Plugin
Extension
Compose
Feature
Flag
Companion
kotlin-gradle-plugin-api
org.
jetbrains.
kotlin.
gradle.
dsl
Explicit
Api
Mode
Strict
Warning
Disabled
Has
Configurable
Kotlin
Compiler
Options
Kapt
Arguments
Kapt
Extension
Config
Kapt
Javac
Option
Kotlin
Android
Extension
Kotlin
Base
Extension
Kotlin
Common
Compiler
Options
Kotlin
Common
Compiler
Tool
Options
Kotlin
Common
Options
Kotlin
Common
Tool
Options
Kotlin
Compile
Kotlin
Gradle
Plugin
Dsl
Kotlin
Hierarchy
Dsl
Kotlin
Js
Compiler
Options
Kotlin
Js
Dce
Compiler
Tool
Options
Kotlin
Js
Dce
Options
Kotlin
Js
Options
Kotlin
Jvm
Compiler
Options
Kotlin
Jvm
Extension
Kotlin
Jvm
Options
Kotlin
Multiplatform
Common
Compiler
Options
Kotlin
Multiplatform
Common
Options
Kotlin
Multiplatform
Source
Set
Conventions
Kotlin
Native
Compiler
Options
Kotlin
Top
Level
Extension
Kotlin
Top
Level
Extension
Config
org.
jetbrains.
kotlin.
gradle.
dsl.
jvm
Jvm
Target
Validation
Mode
IGNORE
WARNING
ERROR
org.
jetbrains.
kotlin.
gradle.
plugin
CInterop
Settings
Include
Directories
Classpath
Test
Run
Source
Support
Compilation
Execution
Source
Compilation
Execution
Source
Support
Compiler
Plugin
Config
Composite
Subplugin
Option
Execution
Task
Holder
extend()
Files
Option
Kind
INTERNAL
Files
Subplugin
Option
Has
Kotlin
Dependencies
Has
Project
Internal
Subplugin
Option
Jvm
Classpath
Test
Run
Source
Kotlin
Base
Plugin
Kotlin
Compilation
Companion
Kotlin
Compilation
Output
Kotlin
Compiler
Plugin
Support
Plugin
Kotlin
Dependency
Handler
Kotlin
Execution
Execution
Source
Kotlin
Hierarchy
Builder
Root
Kotlin
Hierarchy
Template
Templates
Kotlin
Hierarchy
Template()
Kotlin
Js
Compiler
Type
IR
Kotlin
Js
Compiler
Type
Holder
Kotlin
Jvm
Factory
Kotlin
Platform
Type
Compatibility
Rule
Disambiguation
Rule
Companion
common
jvm
js
android
Jvm
native
wasm
Kotlin
Source
Set
Companion
Kotlin
Source
Set
Container
Kotlin
Source
Set
Tree
Companion
Kotlin
Target
Kotlin
Target
Component
Kotlin
Target
Execution
Kotlin
Targets
Container
Kotlin
Targets
Dsl
Kotlin
Target
Test
Run
Kotlin
Target
With
Tests
Companion
Kotlin
Test
Run
Language
Settings
Builder
Subplugin
Artifact
Subplugin
Option
org.
jetbrains.
kotlin.
gradle.
plugin.
attributes
Klib
Packaging
org.
jetbrains.
kotlin.
gradle.
plugin.
mpp
Bitcode
Embedding
Mode
DISABLE
BITCODE
MARKER
Native
Build
Type
RELEASE
DEBUG
Native
Output
Kind
EXECUTABLE
TEST
DYNAMIC
STATIC
FRAMEWORK
org.
jetbrains.
kotlin.
gradle.
tasks
Base
Kapt
Base
Kotlin
Compile
Compile
Using
Kotlin
Daemon
Incremental
Sync
Task
Kapt
Kapt
Generate
Stubs
Kotlin
Compilation
Task
Kotlin
Compiler
Execution
Strategy
DAEMON
IN_PROCESS
OUT_OF_PROCESS
Kotlin
Compile
Tool
Kotlin
Java
Toolchain
Java
Toolchain
Setter
Jdk
Setter
Kotlin
Jvm
Compile
Kotlin
Tool
Task
Uses
Kotlin
Java
Toolchain
org.
jetbrains.
kotlin.
project.
model
Language
Settings
kotlin-gradle-plugin-api
/
org.jetbrains.kotlin.gradle.dsl
/
KotlinCommonCompilerToolOptions
/
allWarningsAsErrors
all
Warnings
As
Errors
@get:
Input
abstract
val
allWarningsAsErrors
:
Property
<
Boolean
>
Report an error if there are any warnings.
Default value: false