Skip to content

Commit

Permalink
update: remove JS in maven.md (#3903)
Browse files Browse the repository at this point in the history
  • Loading branch information
koshachy authored Nov 17, 2023
1 parent 8a795c1 commit 1dd3a58
Showing 1 changed file with 11 additions and 27 deletions.
38 changes: 11 additions & 27 deletions docs/topics/maven.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,35 +289,19 @@ Many of the options can also be configured through properties:

The following attributes are supported:

### Attributes common to JVM and JS

| Name | Property name | Description | Possible values | Default value |
|------|---------------|-------------|-----------------|---------------|
| `nowarn` | | Generate no warnings | true, false | false |
| `languageVersion` | kotlin.compiler.languageVersion | Provide source compatibility with the specified version of Kotlin | "1.3" (DEPRECATED), "1.4" (DEPRECATED), "1.5", "1.6", "1.7", "1.8", "1.9" (EXPERIMENTAL) |
| `apiVersion` | kotlin.compiler.apiVersion | Allow using declarations only from the specified version of bundled libraries | "1.3" (DEPRECATED), "1.4" (DEPRECATED), "1.5", "1.6", "1.7", "1.8", "1.9" (EXPERIMENTAL) |
| `sourceDirs` | | The directories containing the source files to compile | | The project source roots
| `compilerPlugins` | | Enabled compiler plugins | | []
| `pluginOptions` | | Options for compiler plugins | | []
| `args` | | Additional compiler arguments | | []

### Attributes specific to JVM

| Name | Property name | Description | Possible values |Default value |
|------|---------------|-------------|--------------------------------|--------------|
| `jvmTarget` | `kotlin.compiler.jvmTarget` | Target version of the generated JVM bytecode | "1.8", "9", "10", ..., "21" | "%defaultJvmTargetVersion%" |
| `jdkHome` | `kotlin.compiler.jdkHome` | Include a custom JDK from the specified location into the classpath instead of the default JAVA_HOME | | |

### Attributes specific to JS

| Name | Property name | Description | Possible values |Default value |
|------|---------------|-------------|-----------------|--------------|
| `outputFile` | | Destination *.js file for the compilation result | | |
| `metaInfo` | | Generate .meta.js and .kjsm files with metadata. Use to create a library | true, false | true
| `sourceMap` | | Generate source map | true, false | false
| `sourceMapEmbedSources` | | Embed source files into source map | "never", "always", "inlining" | "inlining" |
| `sourceMapPrefix` | | Add the specified prefix to paths in the source map | | |
| `moduleKind` | | The kind of JS module generated by the compiler | "umd", "commonjs", "amd", "plain" | "umd"
| Name | Property name | Description | Possible values | Default value |
|-------------------|---------------------------------|------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------|-----------------------------|
| `nowarn` | | Generate no warnings | true, false | false |
| `languageVersion` | kotlin.compiler.languageVersion | Provide source compatibility with the specified version of Kotlin | "1.3" (DEPRECATED), "1.4" (DEPRECATED), "1.5", "1.6", "1.7", "1.8", "1.9" (EXPERIMENTAL) | |
| `apiVersion` | kotlin.compiler.apiVersion | Allow using declarations only from the specified version of bundled libraries | "1.3" (DEPRECATED), "1.4" (DEPRECATED), "1.5", "1.6", "1.7", "1.8", "1.9" (EXPERIMENTAL) | |
| `sourceDirs` | | The directories containing the source files to compile | | The project source roots |
| `compilerPlugins` | | Enabled compiler plugins | | [] |
| `pluginOptions` | | Options for compiler plugins | | [] |
| `args` | | Additional compiler arguments | | [] |
| `jvmTarget` | `kotlin.compiler.jvmTarget` | Target version of the generated JVM bytecode | "1.8", "9", "10", ..., "21" | "%defaultJvmTargetVersion%" |
| `jdkHome` | `kotlin.compiler.jdkHome` | Include a custom JDK from the specified location into the classpath instead of the default JAVA_HOME | | |

## Use BOM

Expand Down

0 comments on commit 1dd3a58

Please sign in to comment.