try adding : javadoc.options.addStringOption('Xdoclint:none', '-quiet') @ line 209/210 of build.gradle and chage spec file in this way regards .g Il 23/07/2016 23:22, toogley ha
scritto:
%global gmajver 2.3 Name: gant Version: 1.9.11 Release: 1%{?dist} Summary: Groovy-based build system that uses Ant tasks License: ASL 2.0 URL: http://gant.github.io/ Source0: https://github.com/Gant/Gant/archive/%{version}.tar.gz Source2: %{name}-script BuildArch: noarch BuildRequires: gradle-local BuildRequires: java-devel BuildRequires: antlr-tool BuildRequires: objectweb-asm # main deps BuildRequires: ant BuildRequires: apache-commons-cli BuildRequires: groovy # test deps BuildRequires: apache-ivy BuildRequires: junit Requires: ant Requires: antlr-tool Requires: apache-commons-cli Requires: groovy Requires: objectweb-asm Requires: java-devel %description Gant is a tool for scripting Ant tasks using Groovy instead of XML to specify the logic. A Gant specification is a Groovy script and so can bring all the power of Groovy to bear directly, something not possible with Ant scripts. Whilst it might be seen as a competitor to Ant, Gant uses Ant tasks for many of the actions, so Gant is really an alternative way of doing things using Ant, but using a programming language rather than XML to specify the rules. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name}. %prep %autosetup -n Gant-%{version} find . -name "*.bat" -delete find . -name "*.class" -delete find . -name "*.jar" -delete %build # build fails when metaInf is set. # ---> "Could not find property 'metaInf' on project ':gant'." # therefore remove that line. sed -i '/metaInf/d' $PWD/build.gradle # automatic javadoc generation for gradle is not yet implemented in XMvn. %gradle_build --skip-javadoc --xmvn-debug %install %mvn_install %files -f .mfiles #%files javadoc -f .mfiles-javadoc %changelog * Thu Oct 04 2012 gil cattaneo <puntogil@xxxxxxxxx> 1.9.8-1 - update to 1.9.8 - built with groovy 1.8.x support - added maven pom - adapted to current guideline - added new sub package: javadoc |
-- java-devel mailing list java-devel@xxxxxxxxxxxxxxxxxxxxxxx https://lists.fedoraproject.org/admin/lists/java-devel@xxxxxxxxxxxxxxxxxxxxxxx