Skip to content

Commit ba5e2d4

Browse files
authored
build: Fix duplicate tinylog dependencies (#136)
## Change The slf4j-tinylog and tinylog-impl dependencies were duplicated and also with different versions. There's now only a single pair with the latest version and correctly included in the test classpath only. ## General checklist - [X] There are no breaking changes - [ ] I have added unit and/or integration tests for my change - [ ] The tests cover both positive and negative cases - [X] I have manually run all the unit and integration tests in the module I have added/changed, and they are all green - [ ] I have added/updated the [documentation](https://github.com/langchain4j/langchain4j/tree/main/docs/docs) - [ ] I have added an example in the [examples repo](https://github.com/langchain4j/langchain4j-examples) (only for "big" features) ## Checklist for adding new Spring Boot starter - [ ] I have added my new starter in the root `pom.xml` - [ ] I have added a `org.springframework.boot.autoconfigure.AutoConfiguration.imports` file in the `langchain4j-{integration}-spring-boot-starter/src/main/resources/META-INF/spring/` directory
1 parent ea2625a commit ba5e2d4

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

pom.xml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -74,27 +74,15 @@
7474
<dependency>
7575
<groupId>org.tinylog</groupId>
7676
<artifactId>tinylog-impl</artifactId>
77-
<version>2.6.2</version>
78-
<scope>test</scope>
79-
</dependency>
80-
81-
<dependency>
82-
<groupId>org.tinylog</groupId>
83-
<artifactId>slf4j-tinylog</artifactId>
84-
<version>2.6.2</version>
77+
<version>${tinylog.version}</version>
8578
<scope>test</scope>
8679
</dependency>
8780

8881
<dependency>
8982
<groupId>org.tinylog</groupId>
9083
<artifactId>slf4j-tinylog</artifactId>
9184
<version>${tinylog.version}</version>
92-
</dependency>
93-
94-
<dependency>
95-
<groupId>org.tinylog</groupId>
96-
<artifactId>tinylog-impl</artifactId>
97-
<version>${tinylog.version}</version>
85+
<scope>test</scope>
9886
</dependency>
9987

10088
</dependencies>

0 commit comments

Comments
 (0)