Re: Jar manifest target versions

2021-08-01 Thread Dawid Weiss
Hi Alan,

Hmm... these should be filled with the minJavaVersion declared in the
top-level build.gradle. Everything looks ok to me so it's very likely
some kind of racey evaluation before these properties get set
properly. I'll take a look.

https://issues.apache.org/jira/browse/LUCENE-10042

Dawid

On Fri, Jul 30, 2021 at 3:24 PM Alan Woodward  wrote:
>
> Hi all,
>
> I’m testing out snapshot versions of Lucene’s main branch, and I noticed that 
> the jar manifests produced by running mavenToLocalFolder have the following 
> entries:
>
> X-Compile-Source-JDK: 15
> X-Compile-Target-JDK: 15
> X-Build-JDK: 15.0.1 (Oracle Corporation 15.0.1+9-18)
>
> The java min version for lucene 9 will be Java 11 though.  Is there some 
> configuration missing that will pass the target java version to javac as part 
> of the build?
>
> - Alan

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



Jar manifest target versions

2021-07-30 Thread Alan Woodward
Hi all,

I’m testing out snapshot versions of Lucene’s main branch, and I noticed that 
the jar manifests produced by running mavenToLocalFolder have the following 
entries:

X-Compile-Source-JDK: 15
X-Compile-Target-JDK: 15
X-Build-JDK: 15.0.1 (Oracle Corporation 15.0.1+9-18)
The java min version for lucene 9 will be Java 11 though.  Is there some 
configuration missing that will pass the target java version to javac as part 
of the build?

- Alan