Skip to content

Commit

Permalink
Merge pull request #19833 from glefloch/fix/kotlin-version-reference
Browse files Browse the repository at this point in the history
Remove hard coded kotlin version in Gradle tests
  • Loading branch information
famod authored Sep 1, 2021
2 parents 469e81a + 6893678 commit 7e410fa
Show file tree
Hide file tree
Showing 12 changed files with 25 additions and 16 deletions.
10 changes: 5 additions & 5 deletions integration-tests/gradle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,12 @@
<!-- END update-dependencies.sh -->
</dependencies>
<build>
<testResources>
<testResource>
<directory>src/test/resources</directory>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</testResource>
</testResources>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
kotlinVersion=1.5.30
kotlinVersion=${kotlin.version}

quarkusPlatformArtifactId=quarkus-bom
quarkusPlatformGroupId=io.quarkus
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
plugins {
id 'java'
id 'io.quarkus'
id 'org.jetbrains.kotlin.jvm' version "1.5.30"
id "org.jetbrains.kotlin.plugin.allopen" version "1.5.30"
id 'org.jetbrains.kotlin.jvm'
id 'org.jetbrains.kotlin.plugin.allopen'
}

repositories {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
kotlinVersion=${kotlin.version}
quarkusPlatformArtifactId=quarkus-bom
quarkusPlatformGroupId=io.quarkus
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ pluginManagement {
}
}
plugins {
id 'io.quarkus' version "${quarkusPluginVersion}"
id 'io.quarkus' version "${quarkusPluginVersion}"
id 'org.jetbrains.kotlin.jvm' version "${kotlinVersion}"
id 'org.jetbrains.kotlin.plugin.allopen' version "${kotlinVersion}"
}
}
rootProject.name='code-with-quarkus'
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'org.jetbrains.kotlin.jvm' version "1.5.30"
id "org.jetbrains.kotlin.plugin.allopen" version "1.5.30"
id 'org.jetbrains.kotlin.jvm'
id 'org.jetbrains.kotlin.plugin.allopen'
id 'io.quarkus'
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
kotlinVersion=${kotlin.version}
quarkusPlatformArtifactId=quarkus-bom
quarkusPlatformGroupId=io.quarkus
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ pluginManagement {
}
}
plugins {
id 'io.quarkus' version "${quarkusPluginVersion}"
id 'io.quarkus' version "${quarkusPluginVersion}"
id 'org.jetbrains.kotlin.jvm' version "${kotlinVersion}"
id 'org.jetbrains.kotlin.plugin.allopen' version "${kotlinVersion}"
}
}
rootProject.name='code-with-quarkus'
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
quarkusPlatformArtifactId=quarkus-bom
quarkusPlatformGroupId=io.quarkus

kotlinVersion=1.5.30
kotlinVersion=${kotlin.version}

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version "1.5.30"
id "org.jetbrains.kotlin.plugin.allopen" version "1.5.30"
id 'org.jetbrains.kotlin.jvm'
id 'org.jetbrains.kotlin.plugin.allopen'
id 'io.quarkus'
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
kotlinVersion=${kotlin.version}
quarkusPlatformArtifactId=quarkus-bom
quarkusPlatformGroupId=io.quarkus
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ pluginManagement {
}
}
plugins {
id 'io.quarkus' version "${quarkusPluginVersion}"
id 'io.quarkus' version "${quarkusPluginVersion}"
id 'org.jetbrains.kotlin.jvm' version "${kotlinVersion}"
id 'org.jetbrains.kotlin.plugin.allopen' version "${kotlinVersion}"
}
}
rootProject.name='code-with-quarkus'

0 comments on commit 7e410fa

Please sign in to comment.