Skip to content

Commit c29b978

Browse files
committed
Fix build script to run with Gradle 7
1 parent 7bdd67c commit c29b978

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## Unreleased
2+
- Fix: update to Gradle 7 [#184](https://github.com/logstash-plugins/logstash-input-tcp/pull/184)
3+
14
## 6.2.1
25
- Fix: restore logic to add the Bouncy-Castle security provider at runtime [#181](https://github.com/logstash-plugins/logstash-input-tcp/pull/181)
36
- required to properly read encrypted (legacy) OpenSSL PKCS#5v1.5 keys

build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import static java.nio.file.StandardCopyOption.REPLACE_EXISTING
2020
* under the License.
2121
*/
2222
apply plugin: "java"
23-
apply plugin: 'maven'
23+
apply plugin: 'maven-publish'
2424
apply plugin: "distribution"
2525
apply plugin: "idea"
2626

@@ -32,11 +32,11 @@ sourceCompatibility = JavaVersion.VERSION_1_8
3232
buildscript {
3333
repositories {
3434
mavenCentral()
35-
jcenter()
35+
gradlePluginPortal()
3636
}
3737

3838
dependencies {
39-
classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.4'
39+
classpath 'gradle.plugin.com.github.jengelman.gradle.plugins:shadow:7.0.0'
4040
}
4141
}
4242

@@ -51,10 +51,10 @@ shadowJar {
5151
}
5252

5353
dependencies {
54-
compile 'io.netty:netty-all:4.1.65.Final'
54+
implementation 'io.netty:netty-all:4.1.65.Final'
5555

56-
compile group: 'commons-io', name: 'commons-io', version: '2.8.0'
57-
compile 'org.apache.logging.log4j:log4j-core:2.9.1'
56+
implementation group: 'commons-io', name: 'commons-io', version: '2.8.0'
57+
implementation 'org.apache.logging.log4j:log4j-core:2.9.1'
5858

5959
// 1.60 effectively means jruby-openssl >= 0.10.2 (logstash > 6.7)
6060
compileOnly group: 'org.bouncycastle', name: 'bcpkix-jdk15on', version: "1.60"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)