K2 kapt: remove reference to "kapt 4" from the warning
#KT-62438 Fixed
This commit is contained in:
committed by
Space Team
parent
79193006ce
commit
9164b7d405
+2
-2
@@ -1313,12 +1313,12 @@ open class Kapt3IT : Kapt3BaseIT() {
|
||||
assertKaptSuccessful()
|
||||
assertTasksExecuted(":kaptGenerateStubsKotlin", ":kaptKotlin", ":compileKotlin")
|
||||
assertOutputDoesNotContain("Falling back to 1.9.")
|
||||
assertOutputContains("Kapt 4 is an experimental feature. Use with caution.")
|
||||
assertOutputContains("K2 kapt is an experimental feature. Use with caution.")
|
||||
}
|
||||
build("-Pkapt.use.k2=true", "cleanCompileKotlin", "compileKotlin") {
|
||||
assertTasksExecuted(":compileKotlin")
|
||||
// The warning should not be displayed for the compile task.
|
||||
assertOutputDoesNotContain("Kapt 4 is an experimental feature. Use with caution.")
|
||||
assertOutputDoesNotContain("K2 kapt is an experimental feature. Use with caution.")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user