From 51d046a2f7bb205dc7d58d31ab5024bc0caf0596 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Wed, 8 Nov 2023 22:12:34 -0800 Subject: [PATCH] Added no-stdlib and -Xfriend-paths compile options --- examples/.idea/.name | 1 + .../bld/extension/CompileKotlinOperation.java | 15 ++++++++++----- .../bld/extension/CompileKotlinOptions.java | 18 ++++++++++++++++++ .../extension/CompileKotlinOptionsTest.java | 2 ++ 4 files changed, 31 insertions(+), 5 deletions(-) create mode 100644 examples/.idea/.name diff --git a/examples/.idea/.name b/examples/.idea/.name new file mode 100644 index 0000000..c15df89 --- /dev/null +++ b/examples/.idea/.name @@ -0,0 +1 @@ +bld-koltin-examples \ No newline at end of file diff --git a/src/main/java/rife/bld/extension/CompileKotlinOperation.java b/src/main/java/rife/bld/extension/CompileKotlinOperation.java index cdc8141..33ce802 100644 --- a/src/main/java/rife/bld/extension/CompileKotlinOperation.java +++ b/src/main/java/rife/bld/extension/CompileKotlinOperation.java @@ -198,7 +198,8 @@ public class CompileKotlinOperation extends AbstractOperation classpath, Collection sources, File destination) + protected void executeBuildSources(Collection classpath, Collection sources, File destination, File friendPaths) throws IOException { if (sources.isEmpty() || destination == null) { return; @@ -225,8 +227,11 @@ public class CompileKotlinOperation extends AbstractOperation