Skip to content

Commit 4258665

Browse files
StingNevermoresarahhaggarty
authored andcommitted
update: correct documentation for Kotlin JVM target validation mode configuration location
1 parent f8886c7 commit 4258665

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/topics/gradle/gradle-configure-project.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ in the `java` extension or task cause JVM target incompatibility. For example:
185185
the `compileKotlin` task has `jvmTarget=1.8`, and
186186
the `compileJava` task has (or [inherits](https://docs.gradle.org/current/userguide/java_plugin.html#sec:java-extension)) `targetCompatibility=15`.
187187

188-
Configure the behavior of this check for the whole project by setting the `kotlin.jvm.target.validation.mode` property in the `build.gradle(.kts)`
188+
Configure the behavior of this check for the whole project by setting the `kotlin.jvm.target.validation.mode` property in the `gradle.properties`
189189
file to:
190190

191191
* `error` – the plugin fails the build; the default value for projects on Gradle 8.0+.

0 commit comments

Comments
 (0)