From 1f4dfbf5f34f4d12538084ed096b280caee221c0 Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Tue, 3 Jul 2018 18:45:34 +0200 Subject: [PATCH] Fix compilation of Java 9 sources for kotlin-reflect-api Do not pass the jars for modules such as descriptors, descriptors.jvm, etc to `--module-path` because javac assumes that these are separate modules (even though they're listed later as parts of this module in `--patch-module), and prohibits to have split packages and foreign service implementations among them --- libraries/commonConfiguration.gradle | 8 +++++--- libraries/reflect/api/build.gradle | 7 ++++++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/libraries/commonConfiguration.gradle b/libraries/commonConfiguration.gradle index 84f24981223..e241fefac16 100644 --- a/libraries/commonConfiguration.gradle +++ b/libraries/commonConfiguration.gradle @@ -65,12 +65,14 @@ ext.compileJava9Sources = { Project project, String moduleName, Collection