mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[build] Explicitly set Documentation archiveVersion (#8192)
In the recent gradle or gradle dependencies update, the documentation zips were being published as documentation-version-unspecified, where the unspecified was coming from archiveVersion. It looks like we use a different method of setting the version, so make sure that archiveVersion is empty
This commit is contained in:
@@ -168,6 +168,7 @@ doxygen.sourceSets.main {
|
||||
|
||||
tasks.register("zipCppDocs", Zip) {
|
||||
archiveBaseName = zipBaseNameCpp
|
||||
archiveVersion = ""
|
||||
destinationDirectory = outputsFolder
|
||||
dependsOn doxygenDox
|
||||
from ("$buildDir/docs/doxygen/html")
|
||||
@@ -247,6 +248,7 @@ task generateJavaDocs(type: Javadoc) {
|
||||
|
||||
tasks.register("zipJavaDocs", Zip) {
|
||||
archiveBaseName = zipBaseNameJava
|
||||
archiveVersion = ""
|
||||
destinationDirectory = outputsFolder
|
||||
dependsOn generateJavaDocs
|
||||
from ("$buildDir/docs/javadoc")
|
||||
|
||||
Reference in New Issue
Block a user