Do not hardcode kotlin version into maven plugin smoke test

This commit is contained in:
Ilya Gorbunov
2017-09-17 07:35:33 +03:00
committed by Ilya Chernikov
parent c29e44f057
commit 1c6b858153
3 changed files with 8 additions and 2 deletions
@@ -26,7 +26,7 @@
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>1.1-SNAPSHOT</version>
<version>${kotlin.version}</version>
<executions>
<execution>
@@ -35,7 +35,7 @@ State state = new File(basedir, "build.log").readLines().collect { it.replaceAll
replaceAll(/[0-9]+\s*ms/, "LLL ms").
trim().
replaceAll(/^\[[A-Z]+\]$/, "").
replaceAll(/version [0-9a-z-+\.]+/, "version @snapshot@").
replace(kotlinVersion, "@snapshot@").
replaceAll(/\(JRE .+\)/, "(JRE <jre-version>)")
if (filtered != "") {