Slackbot
04/18/2023, 8:20 PMVampire
04/18/2023, 10:21 PMjava { ... } you messed up the syntax, but I cannot tell you where". You typically have to randomly comment out and in things to find out what the problem is.
That is one of the reasons I recommend using Kotlin DSL. You instantly get type-safe build scripts, proper helpful error messages when messing up the syntax, and an amazingly better IDE support.
In your case the problem is, that exports { ... } is not a thing I've ever seen and I'm using Gradle since pre-1.0.Dhananjay
04/19/2023, 3:59 PMVampire
04/19/2023, 4:46 PMDhananjay
04/19/2023, 4:48 PMDhananjay
04/19/2023, 4:50 PMVampire
04/19/2023, 4:52 PMmodule-info.java and running on the module path, not class path?Vampire
04/19/2023, 4:52 PMVampire
04/19/2023, 4:53 PMDhananjay
04/19/2023, 4:56 PMVampire
04/19/2023, 5:22 PMVampire
04/19/2023, 5:23 PMVampire
04/19/2023, 5:24 PMone is only using api of two within your build, you might consider simply using something like archunit to verify such architectural constraints.Vampire
04/19/2023, 5:25 PMtwo into two projects, or at least two source sets.Dhananjay
04/19/2023, 6:00 PM