Thanks. What are the rules for what should go into main vs branch_9x? On Fri, May 5, 2023 at 1:54 PM Dawid Weiss <dawid.we...@gmail.com> wrote:
> > The main branch is on Java 17, see build.gradle: > > // Minimum Java version required to compile and run Lucene. > minJavaVersion = JavaVersion.VERSION_17 > > Also, don't use the default gradle task created by convention; use this > one: > > ./gradlew mavenToLocal > > it's an alias but it publishes only a subset of relevant projects, not all > of them. > > Dawid > > On Fri, May 5, 2023 at 8:03 PM Jonathan Ellis <jbel...@gmail.com> wrote: > >> 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 >> > -- Jonathan Ellis co-founder, http://www.datastax.com @spyced