File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
buildSrc/src/main/java/org/springframework/boot/build Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 30
30
* <ul>
31
31
* <li>{@link KotlinCompile} tasks are configured to:
32
32
* <ul>
33
- * <li>Use {@code apiVersion} and {@code languageVersion} 1.3 .
33
+ * <li>Use {@code apiVersion} and {@code languageVersion} 1.6 .
34
34
* <li>Use {@code jvmTarget} 1.8.
35
35
* <li>Treat all warnings as errors
36
36
* <li>Suppress version warnings
@@ -50,8 +50,8 @@ void apply(Project project) {
50
50
51
51
private void configure (KotlinCompile compile ) {
52
52
KotlinJvmOptions kotlinOptions = compile .getKotlinOptions ();
53
- kotlinOptions .setApiVersion ("1.3 " );
54
- kotlinOptions .setLanguageVersion ("1.3 " );
53
+ kotlinOptions .setApiVersion ("1.6 " );
54
+ kotlinOptions .setLanguageVersion ("1.6 " );
55
55
kotlinOptions .setJvmTarget ("1.8" );
56
56
kotlinOptions .setAllWarningsAsErrors (true );
57
57
List <String > freeCompilerArgs = new ArrayList <>(compile .getKotlinOptions ().getFreeCompilerArgs ());
You can’t perform that action at this time.
0 commit comments