diff --git a/libraries/tools/kotlin-maven-plugin-test/src/it/test-apiVersion/verify.bsh b/libraries/tools/kotlin-maven-plugin-test/src/it/test-apiVersion/verify.bsh index 3f6f8708f48..18b6ee7fd22 100644 --- a/libraries/tools/kotlin-maven-plugin-test/src/it/test-apiVersion/verify.bsh +++ b/libraries/tools/kotlin-maven-plugin-test/src/it/test-apiVersion/verify.bsh @@ -1,4 +1,4 @@ source(new File(basedir, "../../../verify-common.bsh").getAbsolutePath()); assertBuildLogHasLine("[INFO] BUILD FAILURE"); -assertBuildLogHasLineThatContains("Unresolved reference: uppercase"); \ No newline at end of file +assertBuildLogHasLineThatContains("This declaration needs opt-in."); \ No newline at end of file diff --git a/libraries/tools/kotlin-maven-plugin-test/src/it/test-helloworld-kts/pom.xml b/libraries/tools/kotlin-maven-plugin-test/src/it/test-helloworld-kts/pom.xml index 8fccd5d32ef..4813d608f21 100644 --- a/libraries/tools/kotlin-maven-plugin-test/src/it/test-helloworld-kts/pom.xml +++ b/libraries/tools/kotlin-maven-plugin-test/src/it/test-helloworld-kts/pom.xml @@ -61,6 +61,7 @@ -Xallow-any-scripts-in-source-roots + -Xuse-fir-lt=false