Skip to content

Commit d5ee265

Browse files
authored
Fix #565: add matrix build to CI to build module against Kotlin 1.4/1.5/1.6/1.7 (#588)
1 parent d469474 commit d5ee265

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/main.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
fail-fast: false
2626
matrix:
2727
java_version: ['8', '11', '17']
28+
kotlin_version: ['1.4.32', '1.5.32', '1.6.21', '1.7.20']
2829
os: ['ubuntu-20.04']
2930
env:
3031
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
@@ -43,7 +44,7 @@ jobs:
4344
# gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
4445
# gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
4546
- name: Build
46-
run: ./mvnw -B -q -ff -ntp verify
47+
run: ./mvnw -B -q -ff -ntp -Dversion.kotlin=${{ matrix.kotlin_version }} verify
4748
- name: Extract project Maven version
4849
id: projectVersion
4950
run: echo ::set-output name=version::$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -DforceStdout -Dexpression=project.version -q)

pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<connection>scm:git:[email protected]:FasterXML/jackson-module-kotlin.git</connection>
4343
<developerConnection>scm:git:[email protected]:FasterXML/jackson-module-kotlin.git</developerConnection>
4444
<url>https://github.com/FasterXML/jackson-module-kotlin</url>
45-
<tag>jackson-module-kotlin-2.13.2-take2</tag>
45+
<tag>HEAD2</tag>
4646
</scm>
4747

4848
<properties>
@@ -52,7 +52,7 @@
5252
<javac.src.version>1.8</javac.src.version>
5353
<javac.target.version>1.8</javac.target.version>
5454

55-
<version.kotlin>1.5.30</version.kotlin>
55+
<version.kotlin>1.5.32</version.kotlin>
5656

5757
<!-- Generate PackageVersion.java into this directory. -->
5858
<packageVersion.dir>com/fasterxml/jackson/module/kotlin</packageVersion.dir>

0 commit comments

Comments
 (0)