Skip to content

Commit 5bccfc5

Browse files
committed
[GR-16271] Mx: do not recompile Java files when Ruby core files are changed.
PullRequest: truffleruby/901
2 parents 5b36589 + 63077a7 commit 5bccfc5

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

mx.truffleruby/suite.py

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169

170170
"org.truffleruby": {
171171
"dir": "src/main",
172-
"sourceDirs": ["java", "ruby"],
172+
"sourceDirs": ["java"],
173173
"dependencies": [
174174
"truffleruby:TRUFFLERUBY-ANNOTATIONS",
175175
"truffleruby:TRUFFLERUBY-SHARED",
@@ -193,10 +193,20 @@
193193
"BSD-simplified", # MRI
194194
"MIT", # Joni, JCodings
195195
],
196+
},
197+
198+
"org.truffleruby.ruby": {
199+
"dir": "src/main/ruby",
200+
"sourceDirs": ["."],
201+
"javaCompliance": "1.8+",
202+
"license": [
203+
"EPL-1.0", # JRuby (we're choosing EPL out of EPL,GPL,LGPL)
204+
"BSD-new", # Rubinius
205+
],
196206
"externalProjects": {
197207
"ruby-core": {
198208
"type": "ruby",
199-
"path": "ruby/truffleruby",
209+
"path": "truffleruby",
200210
"source": ["core", "post-boot"],
201211
"load_path": ["core"]
202212
}
@@ -320,6 +330,7 @@
320330
"mainClass": "org.truffleruby.launcher.RubyLauncher",
321331
"dependencies": [
322332
"org.truffleruby",
333+
"org.truffleruby.ruby",
323334
],
324335
"distDependencies": [
325336
"truffle:TRUFFLE_API",

0 commit comments

Comments
 (0)