Actually my hack doesn't work, the manifest file changes but the .class files do not.
On Fri, May 5, 2023 at 12:38 PM Jonathan Ellis <jbel...@gmail.com> wrote: > `./gradlew publishToMavenLocal` gives me Java 17 class files by default, > which surprises me since AFAIK 11 is still the minimum to run Lucene. > > I hacked it to work by editing javac.gradle > sourceCompatibility = JavaVersion.VERSION_11 > targetCompatibility = JavaVersion.VERSION_11 > > Is there a cleaner way to do this? > > -- > Jonathan Ellis > co-founder, http://www.datastax.com > @spyced > -- Jonathan Ellis co-founder, http://www.datastax.com @spyced