-
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update documentation for Kotlin 2 compiler
- Loading branch information
Showing
4 changed files
with
24 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,7 @@ out/ | |
# Misc | ||
*.log | ||
*.graphml | ||
*.salive | ||
|
||
# Mac | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,12 +52,14 @@ tasks.withType<Test>().configureEach { | |
} | ||
|
||
tasks.withType<KotlinCompile> { | ||
kotlinOptions { | ||
compilerOptions { | ||
freeCompilerArgs = listOf( | ||
"-Xemit-jvm-type-annotations" // Required for annotations on type variables | ||
"[email protected]:strict", | ||
"-Xemit-jvm-type-annotations" // Enable annotations on type variables | ||
) | ||
jvmTarget = "11" // 1.8 or above | ||
javaParameters = true // Required to get correct parameter names in reporting | ||
apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_2_0 | ||
languageVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_2_0 | ||
javaParameters = true // Get correct parameter names in jqwik reporting | ||
} | ||
} | ||
``` | ||
|