Skip to content

Commit

Permalink
chore: update Maven links
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahhaggarty committed Aug 1, 2023
1 parent d59b536 commit e6dde0a
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/topics/compatibility-modes.md
Original file line number Diff line number Diff line change
@@ -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).
Expand Down
2 changes: 1 addition & 1 deletion docs/topics/compiler-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<configuration>` 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:
Expand Down
2 changes: 1 addition & 1 deletion docs/topics/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down
2 changes: 1 addition & 1 deletion docs/topics/kotlin-evolution.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/topics/maven.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions docs/topics/whatsnew15.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/topics/whatsnew1520.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e6dde0a

Please sign in to comment.