Skip to content

Commit f1f4eea

Browse files
authored
Upgrade Gradle to 8.7 and fix deprecations (#167)
Update Gradle to 8.7 and fixes deprecation warnings.
1 parent 15219a1 commit f1f4eea

File tree

5 files changed

+215
-156
lines changed

5 files changed

+215
-156
lines changed

build.gradle

+15-11
Original file line numberDiff line numberDiff line change
@@ -18,26 +18,30 @@ import static java.nio.file.StandardCopyOption.REPLACE_EXISTING
1818
* specific language governing permissions and limitations
1919
* under the License.
2020
*/
21-
apply plugin: "java"
22-
apply plugin: 'maven-publish'
23-
apply plugin: "distribution"
24-
apply plugin: "idea"
21+
buildscript {
22+
repositories {
23+
mavenCentral()
24+
}
25+
}
26+
27+
plugins {
28+
id 'java'
29+
id 'maven-publish'
30+
id 'distribution'
31+
id 'idea'
32+
}
2533

2634
group "org.logstash.integrations"
2735

28-
sourceCompatibility = JavaVersion.VERSION_1_8
36+
java {
37+
sourceCompatibility = JavaVersion.VERSION_1_8
38+
}
2939

3040
// given https://docs.confluent.io/current/installation/versions-interoperability.html matrix
3141
// Confluent Platform 7.4.x is Apache Kafka 3.4.x
3242
String confluentKafkaVersion = '7.4.0'
3343
String apacheKafkaVersion = '3.4.1'
3444

35-
buildscript {
36-
repositories {
37-
mavenCentral()
38-
}
39-
}
40-
4145
repositories {
4246
mavenCentral()
4347
maven {

gradle/wrapper/gradle-wrapper.jar

-11.9 KB
Binary file not shown.
+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
46
zipStoreBase=GRADLE_USER_HOME
57
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)