File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
core/src/main/kotlin/com/tschuchort/compiletesting Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ abstract class AbstractKotlinCompilation<A : CommonCompilerArguments> internal c
83
83
/* * Report on performance of the compilation */
84
84
var reportPerformance: Boolean = false
85
85
86
+ var languageVersion: String? = null
86
87
87
88
/* * Additional string arguments to the Kotlin compiler */
88
89
var kotlincArguments: List <String > = emptyList()
@@ -112,6 +113,9 @@ abstract class AbstractKotlinCompilation<A : CommonCompilerArguments> internal c
112
113
args.reportOutputFiles = reportOutputFiles
113
114
args.reportPerf = reportPerformance
114
115
116
+ if (languageVersion != null )
117
+ args.languageVersion = this .languageVersion
118
+
115
119
configuration(args)
116
120
117
121
/* *
You can’t perform that action at this time.
0 commit comments