Skip to content

Commit d7f1539

Browse files
committed
feat(guava): update guava33.4.x
Updates the JPMS-enabled version of Guava to the current latest release (33.4.x), and patches the `gson` dependency to build against patched Guava during integration testing. - feat(guava): update `guava` → `33.4.0` (trunk) - fix: usage of `mvnw` on linux while building bom - test: patch `gson` for testing guava integration - chore: update `gson` to latest mainline revision - chore: bump and rebuild catalog tools → `1.0.10` - chore: update gradle catalog versions + lib pins Signed-off-by: Sam Gammon <[email protected]>
1 parent 58db100 commit d7f1539

File tree

188 files changed

+3958
-453
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

188 files changed

+3958
-453
lines changed

.gitmodules

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,56 +2,75 @@
22
path = org.checkerframework
33
url = [email protected]:typetools/checker-framework.git
44
branch = master
5+
depth = 0
56
[submodule "error-prone"]
67
path = com.google.errorprone
78
url = [email protected]:google/error-prone.git
89
branch = master
10+
depth = 0
911
[submodule "j2objc"]
1012
path = com.google.j2objc
1113
url = [email protected]:google/j2objc.git
1214
branch = master
15+
depth = 0
1316
[submodule "guava"]
1417
path = com.google.guava
1518
url = [email protected]:sgammon/guava.git
19+
depth = 0
20+
branch = feat/jpms-v2
1621
[submodule "reactive-streams"]
1722
path = org.reactivestreams
1823
url = [email protected]:sgammon/reactive-streams-jvm.git
24+
depth = 0
1925
[submodule "protobuf"]
2026
path = com.google.protobuf
2127
url = [email protected]:sgammon/protobuf.git
28+
depth = 0
2229
[submodule "dubbo"]
2330
path = tests/integration/dubbo
2431
url = [email protected]:javamodules/dubbo.git
32+
depth = 0
2533
[submodule "pmd"]
2634
path = tests/integration/pmd
2735
url = [email protected]:javamodules/pmd.git
36+
depth = 0
2837
[submodule "ghidra"]
2938
path = tests/integration/ghidra
3039
url = [email protected]:javamodules/ghidra.git
40+
depth = 0
3141
[submodule "armeria"]
3242
path = tests/integration/armeria
3343
url = [email protected]:javamodules/armeria.git
44+
depth = 0
3445
[submodule "bazel"]
3546
path = tests/integration/bazel
3647
url = [email protected]:bazelbuild/bazel.git
48+
depth = 0
3749
[submodule "signal-server"]
3850
path = tests/integration/signal-server
3951
url = [email protected]:javamodules/Signal-Server.git
52+
depth = 0
4053
[submodule "pkl"]
4154
path = tests/integration/pkl
4255
url = [email protected]:javamodules/pkl.git
56+
depth = 0
4357
[submodule "checkstyle"]
4458
path = tests/integration/checkstyle
4559
url = [email protected]:javamodules/checkstyle.git
60+
depth = 0
4661
[submodule "gson"]
4762
path = tests/integration/gson
4863
url = [email protected]:google/gson.git
64+
depth = 0
4965
[submodule "geantyref"]
5066
path = io.leangen.geantyref
5167
url = [email protected]:leangen/geantyref.git
68+
depth = 0
5269
[submodule "kotlinx-collections-immutable"]
5370
path = kotlinx.collections.immutable
5471
url = [email protected]:javamodules/kotlinx.collections.immutable.git
72+
depth = 0
5573
[submodule "maven-resolver"]
5674
path = org.apache.maven.resolver
5775
url = [email protected]:javamodules/maven-resolver.git
76+
depth = 0

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.9
1+
1.0.10

Makefile

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export KOTLINX_COLLECTIONS_POSTFIX ?= SNAPSHOT
4141
export MAVEN_RESOLVER_VERSION ?= 2.0.0-SNAPSHOT
4242
else
4343
export CHECKER_FRAMEWORK_VERSION ?= 3.43.0-SNAPSHOT
44-
export GUAVA_VERSION ?= 33.1.0-jre-jpms
44+
export GUAVA_VERSION ?= 33.4.0-jre-jpms
4545
export GUAVA_FAILUREACCESS_VERSION ?= 1.0.3-jpms
4646
export REACTIVE_STREAMS_VERSION ?= 1.0.5-jpms
4747
export PROTOBUF_VERSION ?= 4.26.1-jpms
@@ -57,7 +57,7 @@ export DEV_BIN ?= $(DEV_ROOT)/bin
5757
export LIBS ?= $(PROJECT)/libs
5858
export PROJECT_PATH ?= $(DEV_BIN):$(shell echo $$PATH)
5959

60-
DEPS ?= com.google.guava org.checkerframework org.reactivestreams com.google.protobuf io.leangen.geantyref kotlinx.collections.immutable
60+
DEPS ?= com.google.guava org.reactivestreams com.google.protobuf kotlinx.collections.immutable
6161
POSIX_FLAGS ?=
6262

6363
ifeq ($(VERBOSE),yes)
@@ -84,11 +84,17 @@ setup: node_modules/ ## Setup local codebase features; performs first-run stuff
8484
node_modules/:
8585
$(RULE)$(PNPM) install --frozen-lockfile --strict-peer-dependencies
8686

87-
repository: $(DEPS) $(LIBS) prebuilts ## Build the repository layout.
87+
repository: gradle-tools $(DEPS) $(LIBS) prebuilts ## Build the repository layout.
8888
$(info Building repository layout...)
8989
@echo "Repository info:"
9090
@echo "- Location: $(REPOSITORY)"
9191

92+
gradle-tools: ## Copy Gradle utility scripts into the repository root.
93+
$(info Mounting Gradle utility scripts...)
94+
$(RULE)$(MKDIR) $(REPOSITORY)/gradle
95+
$(RULE)$(CP) gradle/* $(REPOSITORY)/gradle/
96+
@echo "Utility scripts ready."
97+
9298
#
9399
# Library: Error Prone ---------------------------------------------------------------------
94100

@@ -387,7 +393,7 @@ org.checkerframework/checker-qual/build/libs:
387393
# Library: Guava ---------------------------------------------------------------------------
388394

389395
guava: com.google.guava ## Build Guava and all requisite dependencies.
390-
com.google.guava: org.checkerframework com.google.guava/guava/target
396+
com.google.guava: com.google.guava/guava/target
391397
com.google.guava/guava/target: com.google.guava/guava/futures/failureaccess/target
392398
$(info Building Guava...)
393399
$(RULE)cd com.google.guava \

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
# JPMS Attic Repository
2424

25-
> Latest Release: `1.0.9`
25+
> Latest Release: `1.0.10`
2626
2727
- [GitHub Repo](https://github.com/javamodules/attic)
2828
- [Docs](https://javamodules.dev)
@@ -232,7 +232,7 @@ dependencyResolutionManagement {
232232

233233
versionCatalogs {
234234
create("attic") {
235-
from("dev.javamodules:jpms-catalog:1.0.9")
235+
from("dev.javamodules:jpms-catalog:1.0.10")
236236
}
237237
}
238238
}
@@ -252,7 +252,7 @@ To use the Gradle Platform to constrain your versions, map the repository as usu
252252

253253
```kotlin
254254
dependencies {
255-
api(platform("dev.javamodules:jpms-platform:1.0.9"))
255+
api(platform("dev.javamodules:jpms-platform:1.0.10"))
256256
}
257257
```
258258

com.google.guava

Submodule com.google.guava updated 3258 files

gradle/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
## Gradle Integration
3+
4+
This directory provides scripts which help integrate Gradle with the JPMS Attic repo.

gradle/init.kts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
initscript {
2+
repositories {
3+
mavenCentral()
4+
5+
maven {
6+
name = "jpms-attic"
7+
url = uri("https://jpms.pkg.st/repository")
8+
}
9+
}
10+
}

gradle/jpms.kts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
val latestAtticRelease = "1.0.10"
2+
3+
dependencyResolutionManagement {
4+
repositories {
5+
mavenCentral()
6+
7+
maven {
8+
name = "jpms-attic"
9+
url = uri("https://jpms.pkg.st/repository")
10+
}
11+
}
12+
13+
versionCatalogs {
14+
create("attic") {
15+
from("dev.javamodules:jpms-catalog:$latestAtticRelease")
16+
}
17+
}
18+
}

packages/gradle/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@javamodules/gradle",
3-
"version": "1.0.9",
3+
"version": "1.0.10",
44
"sideEffects": false,
55
"description": "Tools for working with Gradle Module metadata from JavaScript.",
66
"keywords": [

packages/indexer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@javamodules/indexer",
3-
"version": "1.0.9",
3+
"version": "1.0.10",
44
"sideEffects": false,
55
"description": "Generates JSON indexes for Maven repositories.",
66
"keywords": [

0 commit comments

Comments
 (0)