Do not hardcode kotlin version into maven plugin smoke test
This commit is contained in:
committed by
Ilya Chernikov
parent
c29e44f057
commit
1c6b858153
@@ -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 != "") {
|
||||
|
||||
Reference in New Issue
Block a user