Add additional build options required for incremental tests
^KT-45745 In Progress
This commit is contained in:
committed by
teamcity
parent
8274c43ee6
commit
01d5b92b33
+10
@@ -32,6 +32,8 @@ data class BuildOptions(
|
|||||||
val androidVersion: String? = null,
|
val androidVersion: String? = null,
|
||||||
val jsOptions: JsOptions? = null,
|
val jsOptions: JsOptions? = null,
|
||||||
val buildReport: List<BuildReportType> = emptyList(),
|
val buildReport: List<BuildReportType> = emptyList(),
|
||||||
|
val useFir: Boolean = false,
|
||||||
|
val usePreciseJavaTracking: Boolean? = null,
|
||||||
) {
|
) {
|
||||||
data class KaptOptions(
|
data class KaptOptions(
|
||||||
val verbose: Boolean = false,
|
val verbose: Boolean = false,
|
||||||
@@ -123,6 +125,14 @@ data class BuildOptions(
|
|||||||
if (buildReport.isNotEmpty()) {
|
if (buildReport.isNotEmpty()) {
|
||||||
arguments.add("-Pkotlin.build.report.output=${buildReport.joinToString()}")
|
arguments.add("-Pkotlin.build.report.output=${buildReport.joinToString()}")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (useFir) {
|
||||||
|
arguments.add("-Pkotlin.useFir=true")
|
||||||
|
}
|
||||||
|
|
||||||
|
if (usePreciseJavaTracking != null) {
|
||||||
|
arguments.add("-Pkotlin.incremental.usePreciseJavaTracking=$usePreciseJavaTracking")
|
||||||
|
}
|
||||||
return arguments.toList()
|
return arguments.toList()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user