diff --git a/docs/topics/compatibility-modes.md b/docs/topics/compatibility-modes.md index a74b1488a13..6a17525ddc1 100644 --- a/docs/topics/compatibility-modes.md +++ b/docs/topics/compatibility-modes.md @@ -1,6 +1,6 @@ [//]: # (title: Compatibility modes) -When a big team is migrating onto a new version, it may appear in an "inconsistent state" at some point, when some developers have already updated but others haven't. To prevent the former from writing and committing code that others may not be able to compile, we provide the following command line switches (also available in the IDE and [Gradle](gradle-compiler-options.md)/[Maven](maven.md#specifying-compiler-options)): +When a big team is migrating onto a new version, it may appear in an "inconsistent state" at some point, when some developers have already updated but others haven't. To prevent the former from writing and committing code that others may not be able to compile, we provide the following command line switches (also available in the IDE and [Gradle](gradle-compiler-options.md)/[Maven](maven.md#specify-compiler-options)): * `-language-version X.Y` - compatibility mode for Kotlin language version X.Y, reports errors for all language features that came out later. * `-api-version X.Y` - compatibility mode for Kotlin API version X.Y, reports errors for all code using newer APIs from the Kotlin Standard Library (including the code generated by the compiler). diff --git a/docs/topics/compiler-reference.md b/docs/topics/compiler-reference.md index d273a811924..6a1773c5f9a 100644 --- a/docs/topics/compiler-reference.md +++ b/docs/topics/compiler-reference.md @@ -22,7 +22,7 @@ There are several ways to set the compiler options and their values (_compiler a * If you're using Gradle, specify the compiler arguments in the `compilerOptions` property of the Kotlin compilation task. For details, see [Gradle compiler options](gradle-compiler-options.md#how-to-define-options). * If you're using Maven, specify the compiler arguments in the `` element of the Maven plugin node. -For details, see [Maven](maven.md#specifying-compiler-options). +For details, see [Maven](maven.md#specify-compiler-options). * If you run a command-line compiler, add the compiler arguments directly to the utility call or write them into an [argfile](#argfile). For example: diff --git a/docs/topics/faq.md b/docs/topics/faq.md index 258d00aa576..79452f88703 100644 --- a/docs/topics/faq.md +++ b/docs/topics/faq.md @@ -84,7 +84,7 @@ In addition, a [command line compiler](command-line.md) is available, which prov ### What build tools support Kotlin? On the JVM side, the main build tools include [Gradle](gradle.md), [Maven](maven.md), -[Ant](maven.md), and [Kobalt](https://beust.com/kobalt/home/index.html). There are also some build tools available +[Ant](ant.md), and [Kobalt](https://beust.com/kobalt/home/index.html). There are also some build tools available that target client-side JavaScript. ### What does Kotlin compile down to? diff --git a/docs/topics/kotlin-evolution.md b/docs/topics/kotlin-evolution.md index 1b101e09385..8c0c677c3e3 100644 --- a/docs/topics/kotlin-evolution.md +++ b/docs/topics/kotlin-evolution.md @@ -134,7 +134,7 @@ for three previous language and API versions in addition to the latest stable on Actively maintained code bases can benefit from getting bug fixes ASAP, without waiting for a full deprecation cycle to complete. Currently, such project can enable the `-progressive` flag and get such fixes enabled even in incremental releases. -All flags are available on the command line as well as [Gradle](gradle-compiler-options.md) and [Maven](maven.md#specifying-compiler-options). +All flags are available on the command line as well as [Gradle](gradle-compiler-options.md) and [Maven](maven.md#specify-compiler-options). ### Evolving the binary format diff --git a/docs/topics/maven.md b/docs/topics/maven.md index aabe35a18c4..a9fbc657238 100644 --- a/docs/topics/maven.md +++ b/docs/topics/maven.md @@ -26,7 +26,7 @@ To use JDK 17, in your `.mvn/jvm.config` file, add: ## Set dependencies Kotlin has an extensive standard library that can be used in your applications. -To use the standard library in your project, add the following dependency in your `pom.xml` file: +To use the standard library in your project, add the following dependency to your `pom.xml` file: ```xml diff --git a/docs/topics/whatsnew15.md b/docs/topics/whatsnew15.md index 59b56637b36..86420117786 100644 --- a/docs/topics/whatsnew15.md +++ b/docs/topics/whatsnew15.md @@ -180,7 +180,7 @@ which improves the JVM startup performance. To roll back to the old implementation scheme based on anonymous class generation, add the compiler option `-Xsam-conversions=class`. -Learn how to add compiler options in [Gradle](gradle-compiler-options.md), [Maven](maven.md#specifying-compiler-options), and the [command-line compiler](compiler-reference.md#compiler-options). +Learn how to add compiler options in [Gradle](gradle-compiler-options.md), [Maven](maven.md#specify-compiler-options), and the [command-line compiler](compiler-reference.md#compiler-options). ### Lambdas via invokedynamic @@ -202,7 +202,7 @@ lambda compilation: To try this feature, add the `-Xlambdas=indy` compiler option. We would be grateful if you could share your feedback on it using this [YouTrack ticket](https://youtrack.jetbrains.com/issue/KT-45375). -Learn how to add compiler options in [Gradle](gradle-compiler-options.md), [Maven](maven.md#specifying-compiler-options), and [command-line compiler](compiler-reference.md#compiler-options). +Learn how to add compiler options in [Gradle](gradle-compiler-options.md), [Maven](maven.md#specify-compiler-options), and [command-line compiler](compiler-reference.md#compiler-options). ### Deprecation of @JvmDefault and old Xjvm-default modes diff --git a/docs/topics/whatsnew1520.md b/docs/topics/whatsnew1520.md index 5df0427491b..d28d61780aa 100644 --- a/docs/topics/whatsnew1520.md +++ b/docs/topics/whatsnew1520.md @@ -26,7 +26,7 @@ for string concatenation. To switch back to concatenation via [`StringBuilder.append()`](https://docs.oracle.com/javase/9/docs/api/java/lang/StringBuilder.html#append-java.lang.String-) used in previous versions, add the compiler option `-Xstring-concat=inline`. -Learn how to add compiler options in [Gradle](gradle-compiler-options.md), [Maven](maven.md#specifying-compiler-options), and the [command-line compiler](compiler-reference.md#compiler-options). +Learn how to add compiler options in [Gradle](gradle-compiler-options.md), [Maven](maven.md#specify-compiler-options), and the [command-line compiler](compiler-reference.md#compiler-options). ### Support for JSpecify nullness annotations