Skip to content

Commit 776d17a

Browse files
authored
Update build dependencies (#413)
* Upgrade Gradle 4.10.3 -> 8.8 * Replace osgi plugin with bnd plugin * Use consistent quoting * Upgrade JUnit 5.8.2 -> 5.10.3 * Fix gradle deprecation warning * Upgrade checkstyle 6.18 -> 9.3
1 parent ca5c3c4 commit 776d17a

File tree

7 files changed

+261
-166
lines changed

7 files changed

+261
-166
lines changed

build.gradle

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
apply plugin: 'signing'
2-
apply plugin: 'osgi'
3-
apply plugin: 'maven-publish'
1+
plugins {
2+
id "signing"
3+
id "maven-publish"
4+
}
45

56
group = "org.hamcrest"
67
version = "3.0-SNAPSHOT"
@@ -9,19 +10,21 @@ subprojects {
910
apply plugin: 'checkstyle'
1011
apply plugin: 'java-library'
1112

12-
sourceCompatibility = JavaVersion.VERSION_1_8
13-
targetCompatibility = JavaVersion.VERSION_1_8
14-
1513
group = rootProject.group
1614
version = rootProject.version
1715

16+
java {
17+
sourceCompatibility = JavaVersion.VERSION_1_8
18+
targetCompatibility = JavaVersion.VERSION_1_8
19+
}
20+
1821
repositories {
1922
mavenCentral()
2023
}
2124

2225
checkstyle {
2326

24-
project.ext.checkstyleVersion = '6.18'
27+
project.ext.checkstyleVersion = '9.3'
2528
//works with a JDK 7 version which is supposed to be supported although
2629
//deprecated, see https://github.com/hamcrest/JavaHamcrest/pull/211 for
2730
//the discussion about the support
@@ -47,12 +50,12 @@ subprojects {
4750
}
4851

4952
task sourcesJar(type: Jar) {
50-
classifier = 'sources'
53+
archiveClassifier = 'sources'
5154
from sourceSets.main.allSource
5255
}
5356

5457
task javadocJar(type: Jar) {
55-
classifier = 'javadoc'
58+
archiveClassifier = 'javadoc'
5659
from javadoc
5760
}
5861
}

gradle/wrapper/gradle-wrapper.jar

-12.4 KB
Binary file not shown.
Lines changed: 3 additions & 1 deletion
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-4.10.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
46
zipStoreBase=GRADLE_USER_HOME
57
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)