aboutsummaryrefslogtreecommitdiff
path: root/test/manual/moduleBasedMultiProject/projB
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2018-10-29 20:46:18 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2018-10-29 20:46:18 +0100
commitd8b882cf7e7078a7946e04eceba4ce18937a28f0 (patch)
treeeabba31d3120eca402cdc20f21d201f5862ea646 /test/manual/moduleBasedMultiProject/projB
parente40eab2e343b4c3a7eedf9493aa2a656ec299f69 (diff)
downloadlombok-d8b882cf7e7078a7946e04eceba4ce18937a28f0.tar.gz
lombok-d8b882cf7e7078a7946e04eceba4ce18937a28f0.tar.bz2
lombok-d8b882cf7e7078a7946e04eceba4ce18937a28f0.zip
[test] Added some posix scripts to test module-based builds. We should make these as unit tests someday.
Diffstat (limited to 'test/manual/moduleBasedMultiProject/projB')
-rw-r--r--test/manual/moduleBasedMultiProject/projB/module-info.java5
-rw-r--r--test/manual/moduleBasedMultiProject/projB/pkgB/ClassB.java10
2 files changed, 15 insertions, 0 deletions
diff --git a/test/manual/moduleBasedMultiProject/projB/module-info.java b/test/manual/moduleBasedMultiProject/projB/module-info.java
new file mode 100644
index 00000000..7b82f362
--- /dev/null
+++ b/test/manual/moduleBasedMultiProject/projB/module-info.java
@@ -0,0 +1,5 @@
+module projB {
+ requires static lombok;
+ requires projA;
+}
+
diff --git a/test/manual/moduleBasedMultiProject/projB/pkgB/ClassB.java b/test/manual/moduleBasedMultiProject/projB/pkgB/ClassB.java
new file mode 100644
index 00000000..3f57f31e
--- /dev/null
+++ b/test/manual/moduleBasedMultiProject/projB/pkgB/ClassB.java
@@ -0,0 +1,10 @@
+import lombok.Getter;
+import pkgA.ClassA;
+
+public class ClassB {
+ @Getter private String world = "world";
+ public void test() {
+ new ClassA().getHello();
+ getWorld();
+ }
+}