diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2018-10-29 20:46:18 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2018-10-29 20:46:18 +0100 |
commit | d8b882cf7e7078a7946e04eceba4ce18937a28f0 (patch) | |
tree | eabba31d3120eca402cdc20f21d201f5862ea646 /test/manual/moduleBasedMultiProject/projB | |
parent | e40eab2e343b4c3a7eedf9493aa2a656ec299f69 (diff) | |
download | lombok-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.java | 5 | ||||
-rw-r--r-- | test/manual/moduleBasedMultiProject/projB/pkgB/ClassB.java | 10 |
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(); + } +} |