> javadoc task is not executed. if you want enable just add: > > echo ' > task javadoc(type: Javadoc) { > classpath = configurations.compile > source = sourceSets.main.allJava > }' >> build.gradle > > or > > echo ' > task javadocs(type: Javadoc) { > classpath = configurations.compile > source = sourceSets.main.allJava > }' >> build.gradle > > and run > %gradle_build -- build javadocs > > regards > .g > > Il 09/02/2017 16:03, Martin Gansser ha scritto: I added this lines, but the compilations fails # enable javadoc echo 'task javadocs(type: Javadoc) { classpath = configurations.compile source = sourceSets.main.allJava }' >> build.gradle %build #gradle_build %gradle_build -- build javadocs --stacktrace error messages: /home/martin/rpmbuild/BUILD/MSearch-2.1.1/src/main/java/mSearch/tool/FileSize.java:34: error: unmappable character for encoding ASCII // Anzeige der Gr????e in MiB und deshalb: Faktor 1000 ^ /home/martin/rpmbuild/BUILD/MSearch-2.1.1/src/main/java/mSearch/tool/FileSize.java:34: error: unmappable character for encoding ASCII // Anzeige der Gr????e in MiB und deshalb: Faktor 1000 ^ 100 errors :javadocs FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':javadocs'. > Javadoc generation failed. Generated Javadoc options file (useful for troubleshooting): '/home/martin/rpmbuild/BUILD/MSearch-2.1.1/build/tmp/javadocs/javadoc.options' * Try: Run with --info or --debug option to get more log output. * Exception is: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':javadocs'. _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx