Do not hardcode kotlin version in one of maven integration tests
This commit is contained in:
@@ -146,6 +146,9 @@
|
||||
<postBuildHookScript>verify</postBuildHookScript>
|
||||
<streamLogs>false</streamLogs>
|
||||
<invokerPropertiesFile>invoker.properties</invokerPropertiesFile>
|
||||
<scriptVariables>
|
||||
<kotlinVersion>${project.version}</kotlinVersion>
|
||||
</scriptVariables>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
[INFO] Kotlin Compiler version @snapshot@
|
||||
[INFO] Compiling Kotlin sources from [/test-extension/src/main/kotlin]
|
||||
[INFO] Module name is test-extension
|
||||
[WARNING] Some JAR files in the classpath have the Kotlin Runtime library bundled into them. This may cause difficult to debug problems if there's a different version @snapshot@ the Kotlin Runtime library in the classpath. Consider removing these libraries from the classpath or use '-Xskip-runtime-version-check' to suppress this warning
|
||||
[WARNING] /local-repo/org/jetbrains/kotlin/kotlin-compiler/1.1-SNAPSHOT/kotlin-compiler-1.1-SNAPSHOT.jar: (-1, -1) Library has Kotlin runtime bundled into it
|
||||
[WARNING] Some JAR files in the classpath have the Kotlin Runtime library bundled into them. This may cause difficult to debug problems if there's a different version of the Kotlin Runtime library in the classpath. Consider removing these libraries from the classpath or use '-Xskip-runtime-version-check' to suppress this warning
|
||||
[WARNING] /local-repo/org/jetbrains/kotlin/kotlin-compiler/@snapshot@/kotlin-compiler-@snapshot@.jar: (-1, -1) Library has Kotlin runtime bundled into it
|
||||
[INFO] Kotlin Compiler version @snapshot@
|
||||
[WARNING] No sources found skipping Kotlin compile
|
||||
[INFO] Kotlin Compiler version @snapshot@
|
||||
|
||||
@@ -38,7 +38,7 @@ State state = buildLogFile.readLines().collect { it.replaceAll("\\u001b[^m]*m",
|
||||
replaceAll(/[0-9]+\s*ms/, "LLL ms").
|
||||
trim().
|
||||
replaceAll(/^\[[A-Z]+\]$/, "").
|
||||
replaceAll(/version [0-9a-z-+\.]+/, "version @snapshot@")
|
||||
replace(kotlinVersion, "@snapshot@")
|
||||
|
||||
if (filtered != "") {
|
||||
acc.lines << filtered
|
||||
|
||||
Reference in New Issue
Block a user