Skip to content

Commit b1ea488

Browse files
committed
Revert logback upgrade for tests
1 parent cf17bb1 commit b1ea488

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pom.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,12 @@
149149
<dependency>
150150
<groupId>ch.qos.logback</groupId>
151151
<artifactId>logback-classic</artifactId>
152-
<!-- For this SDK's tests, we use the latest version
153-
because any of slf4j v2 compatible versions should be compatible with v1 as well.
152+
<!-- Since the latest version of logback does not support Java 1.8,
153+
we keep using slf4j-api v1 compatible version. When upgrading to the latest, you will see the following error:
154+
java.lang.UnsupportedClassVersionError: ch/qos/logback/classic/spi/LogbackServiceProvider has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
154155
see also: https://github.com/slackapi/java-slack-sdk/issues/1034
155156
-->
156-
<version>${logback-slf4j-v2.version}</version>
157+
<version>${logback-slf4j-v1.version}</version>
157158
<scope>test</scope>
158159
</dependency>
159160
<dependency>

0 commit comments

Comments
 (0)