Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ configure(project(":lucene:core")) {
dependencies.add("main${jdkVersion}Implementation", sourceSets.main.output)

tasks.named("compileMain${jdkVersion}Java").configure {
def apijar = apijars.file("jdk${jdkVersion}.apijar")
def apijar = apijars.file("jdk${jdkVersion}-api.jar")

// TODO: this depends on the order of argument configuration...
int releaseIndex = options.compilerArgs.indexOf("--release")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ configure(project(":lucene:core")) {
args = [
rootProject.minJavaVersion.toString(),
jdkVersion,
apijars.file("jdk${jdkVersion}.apijar"),
apijars.file("jdk${jdkVersion}-api.jar"),
]
}

Expand Down
4 changes: 2 additions & 2 deletions lucene/core/src/generated/jdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@

# Generated Java API signatures files

This directory contains generated `.apijar` files. Those are special JAR files containing
This directory contains generated `*-api.jar` files. Those are special JAR files containing
class files that only have public signatures of certain packages of the Java class
library, but no bytecode at all. Those files are only used to compile the MR-JAR of Apache
Lucene while allowing to link against APIs only provided as preview or incubating APIs in
future JDK versions.

`.apijar` files are provided for developer's convenience in the Lucene source tree.
These API jar files are provided for developer's convenience in the Lucene source tree.
They are not part of Lucene's APIs or source code and are not part of binary releases.
See them as binary blobs with encoded information also provided through the public
[Javadocs](https://docs.oracle.com/en/java/javase/) of the corresponding Java
Expand Down
Loading