Skip to content

Commit

Permalink
Stop packaging jackson dependencies (#455)
Browse files Browse the repository at this point in the history
* Stop packaging jackson dependencies

Use compileOnly and testImplemenation dependency options to rely on jars
provided by Logstash
  • Loading branch information
robbavey authored Aug 25, 2022
1 parent 02ff81f commit d0a046c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 6.4.2
- Build: do not package jackson dependencies [#455](https://github.com/logstash-plugins/logstash-input-beats/pull/455)

## 6.4.1
- [DOC] Add direct memory example [#454](https://github.com/logstash-plugins/logstash-input-beats/pull/454)

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.4.1
6.4.2
16 changes: 10 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ description = "Beats/Lumberjack Netty implementation"
sourceCompatibility = 1.8
targetCompatibility = 1.8

String jacksonVersion = '2.9.10'
String jacksonDatabindVersion = '2.9.10.8'
String jacksonVersion = '2.13.3'
String jacksonDatabindVersion = '2.13.3'

repositories {
mavenCentral()
Expand All @@ -26,10 +26,14 @@ dependencies {
testImplementation 'org.apache.logging.log4j:log4j-core:2.17.0'
implementation 'io.netty:netty-all:4.1.65.Final'
implementation 'org.javassist:javassist:3.24.0-GA'
implementation "com.fasterxml.jackson.core:jackson-core:${jacksonVersion}"
implementation "com.fasterxml.jackson.core:jackson-annotations:${jacksonVersion}"
implementation "com.fasterxml.jackson.core:jackson-databind:${jacksonDatabindVersion}"
implementation "com.fasterxml.jackson.module:jackson-module-afterburner:${jacksonVersion}"
testImplementation "com.fasterxml.jackson.core:jackson-core:${jacksonVersion}"
testImplementation "com.fasterxml.jackson.core:jackson-annotations:${jacksonVersion}"
testImplementation "com.fasterxml.jackson.core:jackson-databind:${jacksonDatabindVersion}"
testImplementation "com.fasterxml.jackson.module:jackson-module-afterburner:${jacksonVersion}"
compileOnly "com.fasterxml.jackson.core:jackson-core:${jacksonVersion}"
compileOnly "com.fasterxml.jackson.core:jackson-annotations:${jacksonVersion}"
compileOnly "com.fasterxml.jackson.core:jackson-databind:${jacksonDatabindVersion}"
compileOnly "com.fasterxml.jackson.module:jackson-module-afterburner:${jacksonVersion}"
compileOnly 'org.apache.logging.log4j:log4j-api:2.17.0'
}

Expand Down

0 comments on commit d0a046c

Please sign in to comment.