Переглянути джерело

still hacking the build

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892940 13f79535-47bb-0310-9956-ffa450edef68
tags/REL_5_2_0
PJ Fanning 2 роки тому
джерело
коміт
4e7753f065
1 змінених файлів з 12 додано та 0 видалено
  1. 12
    0
      poi-ooxml/build.gradle

+ 12
- 0
poi-ooxml/build.gradle Переглянути файл

@@ -245,6 +245,18 @@ publishing {
pom {
name = 'Apache POI - API based on OPC and OOXML schemas'
description = 'Apache POI - Java API To Access Microsoft Format Files'

withXml {
// Update dependencies with resolved versions
def hasDependencies = !asNode().dependencies.isEmpty()
if (hasDependencies) {
asNode().dependencies.first().each {
String artifactId = it.get("artifactId").first().value().first()
String modifiedName = artifactId.equals("poi-ooxml-full") ? "poi-ooxml-lite" : artifactId
it.get("artifactId").first().value = modifiedName
}
}
}
}
}
}

Завантаження…
Відмінити
Зберегти