Javadoc with Gradle : Don't get the libraries while running javadoc task -
i new gradle, , trying run javadoc using gradle. have followed gradle javadoc page, have added next task in build.gradle:
apply plugin: 'java' task myjavadocs(type: javadoc) { source = sourcesets.main.alljava } my problem is, none of libraries of project added, lot of errors next one:
myclass.java:7: package net.sf.oval.constraint not exist import net.sf.oval.constraint.notnull; what doing wrong?
thanks time,
rafael
you have configure class path of javadoc task. like:
myjavadocs { classpath = configurations.compile } for further configuration options, see dsl reference.
Comments
Post a Comment