Wednesday, January 8, 2014

Quick & Dirty Tips: JavaDoc gradle task

I was trying to publish a JavaDoc for my Android Library. Being an absolute novice in Gradle, I searched the net and found a piece of gem that just worked. The Magic is from line 31 to line 46. It creates 2 Gradle tasks for me:

  • generatedebugjavadoc &
  • generatereleasejavadoc

And then the JavaDoc files can be found in <ProjectDir>/build/docs

No comments:

Post a Comment