Skip to content

Commit b5c3a3d

Browse files
committed
[GR-46394] Migrate TruffleRuby to named Java modules
1 parent b64cd1d commit b5c3a3d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

mx.truffleruby/suite.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
# ------------- Libraries -------------
5858

5959
"JCODINGS": {
60+
"moduleName": "org.jruby.jcodings",
6061
"maven": {
6162
"groupId": "org.jruby.jcodings",
6263
"artifactId": "jcodings",
@@ -68,6 +69,7 @@
6869
},
6970

7071
"JONI": {
72+
"moduleName": "org.jruby.joni",
7173
"maven": {
7274
"groupId": "org.jruby.joni",
7375
"artifactId": "joni",
@@ -384,6 +386,12 @@
384386
# ------------- Distributions -------------
385387

386388
"TRUFFLERUBY-ANNOTATIONS": {
389+
"moduleInfo": {
390+
"name": "org.truffleruby.annotations",
391+
"exports": [
392+
"org.truffleruby.annotations to org.truffleruby",
393+
],
394+
},
387395
"dependencies": [
388396
"org.truffleruby.annotations"
389397
],
@@ -395,6 +403,13 @@
395403
# since the rest cannot depend on the launcher and the shared code cannot be there.
396404
# This code is loaded twice in different classloaders, therefore any created instances should not be passed around.
397405
"TRUFFLERUBY-SHARED": {
406+
"moduleInfo": {
407+
"name": "org.truffleruby.shared",
408+
"exports": [
409+
"org.truffleruby.shared",
410+
"org.truffleruby.shared.options",
411+
],
412+
},
398413
"dependencies": [
399414
"org.truffleruby.shared"
400415
],
@@ -434,6 +449,9 @@
434449
},
435450

436451
"TRUFFLERUBY": {
452+
"moduleInfo": {
453+
"name": "org.truffleruby",
454+
},
437455
"dependencies": [
438456
"org.truffleruby",
439457
"org.truffleruby.ruby",

0 commit comments

Comments
 (0)