lucene/gradle/ant-compat/artifact-naming.gradle

16 lines
563 B
Groovy

// Stick to previous artifact names (not identical to path/ folders).
configure(subprojects.findAll { it.path.contains(':solr:contrib:') }) {
project.archivesBaseName = project.archivesBaseName.replace("-contrib-", "-")
}
// This project has a different artifact name (solr-contrib-cell). Don't know why.
configure(project(":solr:contrib:extraction")) {
archivesBaseName = "solr-cell"
}
configure(subprojects.findAll { it.path.contains(':lucene:analysis:') }) {
project.archivesBaseName = project.archivesBaseName.replace("-analysis-", "-analyzers-")
}