mirror of https://github.com/apache/lucene.git
parent
2e12a35c87
commit
fad6653495
|
@ -38,7 +38,7 @@ configure(project(":lucene:core")) {
|
|||
apiextractor "org.ow2.asm:asm:${scriptDepVersions['asm']}"
|
||||
}
|
||||
|
||||
for (jdkVersion : mrjarJavaVersions) {
|
||||
mrjarJavaVersions.each { jdkVersion ->
|
||||
def task = tasks.create(name: "generateJdkApiJar${jdkVersion}", type: JavaExec) {
|
||||
description "Regenerate the API-only JAR file with public Panama Foreign & Vector API from JDK ${jdkVersion}"
|
||||
group "generation"
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
configure(project(":lucene:core")) {
|
||||
plugins.withType(JavaPlugin) {
|
||||
for (jdkVersion : mrjarJavaVersions) {
|
||||
mrjarJavaVersions.each { jdkVersion ->
|
||||
sourceSets.create("main${jdkVersion}") {
|
||||
java {
|
||||
srcDirs = ["src/java${jdkVersion}"]
|
||||
|
@ -46,7 +46,7 @@ configure(project(":lucene:core")) {
|
|||
}
|
||||
|
||||
tasks.named('jar').configure {
|
||||
for (jdkVersion : mrjarJavaVersions) {
|
||||
mrjarJavaVersions.each { jdkVersion ->
|
||||
into("META-INF/versions/${jdkVersion}") {
|
||||
from sourceSets["main${jdkVersion}"].output
|
||||
}
|
||||
|
|
|
@ -22,6 +22,10 @@ pluginManagement {
|
|||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
id("org.gradle.toolchains.foojay-resolver-convention") version "0.7.0"
|
||||
}
|
||||
|
||||
rootProject.name = "lucene-root"
|
||||
|
||||
includeBuild("dev-tools/missing-doclet")
|
||||
|
|
Loading…
Reference in New Issue