Gradle Script plugin to generate documentation by Dokka documentation engine in Javadoc or other formats for Java, Kotlin, Android and non-Android projects. It's very easy, you don't need to add to dependencies section additional classpath or think about compatibility issues, you don't need additional repositories also.

Overview

EasyDokkaPlugin Android Arsenal Latest Version

Gradle Script plugin to generate documentation by Dokka documentation engine in Javadoc or other formats for Java, Kotlin, Android and non-Android projects. It's very easy, you don't need to add to dependencies section additional classpath or think about compatibility issues, you don't need additional repositories also.

Contents

Usage

1. Have a working Gradle build

It is up to you.

2. Call the Script

Add the following at the end of build.gradle of each sub-module that you wish to generate documentation:

apply from: 'https://raw.github.com/Vorlonsoft/EasyDokkaPlugin/master/dokka.gradle'

3. Generate documentation

You can now generate documentation by Dokka documentation engine in Javadoc or other formats:

$ gradle dokkaJavadocsJar

4. Get documentation

Get generated documentation from ${buildDir} directory.

Optional properties

Create project root gradle.properties. You may already have this file, in which case just edit the original. This file should contain the properties values which are common to all of your sub-projects (if you have any). The values in the sub-project gradle.properties file are specific to the sub-project (and override those in the root gradle.properties). For instance, here's AndroidRate's:

DOKKA_FATJAR_VERSION = 0.9.17
DOKKA_OUTPUT_FORMAT = javadoc

There are optional properties which can be set:

Dokka fatjar version

DOKKA_FATJAR_VERSION (default is "0.9.17")

${latestVersion} is Dokka fatjar latest version

Dokka output format

DOKKA_OUTPUT_FORMAT (default is "javadoc")

Options:

  • html - minimalistic html format used by default
  • javadoc - Dokka mimic to javadoc
  • html-as-java - as html but using java syntax
  • markdown - Markdown structured as html
    • gfm - GitHub flavored markdown
    • jekyll - Jekyll compatible markdown
  • kotlin-website - internal format used for documentation on kotlinlang.org

Groovydoc documentation

See EasyDokkaPlugin documentation

Already in use in following libraries

Our other plugins

GradleMavenPush - helper to upload Gradle Android Artifacts, Gradle Java Artifacts and Gradle Kotlin Artifacts to Maven repositories (JCenter, Maven Central, Corporate staging/snapshot servers and local Maven repositories).

Contribute

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

Copyright 2018 Vorlonsoft LLC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
You might also like...
Life is too short to google for dependencies and versions
Life is too short to google for dependencies and versions

What is refreshVersions? refreshVersions helps Gradle users with the tedious manual work usually involved in adding and updating dependencies and thei

Export BlueJ project archives from Gradle projects.

bluej-jar Gradle Plugin This is a Gradle plugin for producing JAR files which are valid BlueJ project archives. This plugin only works in Java project

✈️ IDE plugin for the IntelliJ platform which adds GitHub Copilot support. (VERY WIP)
✈️ IDE plugin for the IntelliJ platform which adds GitHub Copilot support. (VERY WIP)

JetBrains Copilot GitHub Copilot support for the IntellIJ Platform. Installation Download the latest release. Select the Install Plugin from Disk opti

A Leiningen plugin for building Clojure/Android projects

lein-droid A Leiningen plugin to simplify Clojure development for Android platform. It acts as a build-tool for Clojure/Android projects. Usage First

Jetbrains plugin for differentiating opened projects by color!
Jetbrains plugin for differentiating opened projects by color!

🟩 🟦 Project-Color 🟨 🟥 Remember your projects by color! Colorize the title bar to differentiate your open projects. Working on multiple projects si

eventbus-intellij-plugin 3.8 0.0 L1 Java Plugin to navigate between events posted by EventBus.
eventbus-intellij-plugin 3.8 0.0 L1 Java Plugin to navigate between events posted by EventBus.

eventbus-intellij-plugin Plugin to navigate between events posted by EventBus. Post to onEvent and onEvent to Post Install There are two ways. Prefere

IntelliJ platform plugin that shows errors, warnings, and other inspection highlights inline.
IntelliJ platform plugin that shows errors, warnings, and other inspection highlights inline.

IntelliJ plugin that shows errors, warnings, and other inspection highlights inline. Simply install the plugin and inspection descriptions will appear

Gradle plugin which helps you analyze the size of your Android apps.
Gradle plugin which helps you analyze the size of your Android apps.

Ruler Ruler is a Gradle plugin which helps you analyze the size of your Android apps. Motivation App size is an important metric which directly correl

A powerful Gradle Plugin to help you demonstrate your android app
A powerful Gradle Plugin to help you demonstrate your android app

English | 简体中文 sample-gradle-plugin 🚀 A powerful Gradle Plugin to help you demonstrate your android app. We often write demo applications that contai

Comments
  • How to output to folder ?

    How to output to folder ?

    I have project gradle with groovy, java and kotlin. i want documenting all document block into javadoc/groovydoc/dokka to folder $rootDir/docs. how to configure this plugin to output folder docs ?

    opened by dimaslanjaka 0
  • Gradle sync error

    Gradle sync error

    Getting this error on gradle sync Cause: startup failed: script 'https://raw.github.com/Vorlonsoft/EasyDokkaPlugin/master/dokka.gradle': 64: The variable [srcDirsJavaNumber] may be uninitialized

    opened by harisf3 1
  • Plugin return an error on gradle 5.1.1

    Plugin return an error on gradle 5.1.1

    I include your plugin to project like a: apply from: 'https://raw.github.com/Vorlonsoft/EasyDokkaPlugin/master/dokka.gradle' All works fine. But I update my project to gradle 5.1.1. Plugin return the errors.

    My project

    Logs from ci

    opened by VovaStelmashchuk 0
Releases(Yokohama)
  • Yokohama(Aug 14, 2018)

    • LIBff40814 Refactoring, documenting
    • LIBcc30814 README.md update
    • LIBff30814 DOKKA_OUTPUT_FORMAT optional property added
    • LIBff20814 DOKKA_FATJAR_VERSION optional property added
    • LIBcc20814 downloadLib(...) method update
    • LIBff70807 EasyDokkaUtils Class moved out
    • LIBff10806 GradleMavenPush plugin support
    • LIBbb20806 dokka links update
    • LIBcc20806 README.md update
    • LIBbb10806 offline links fix
    • LIBcc10806 NOTICE updated
    Source code(tar.gz)
    Source code(zip)
  • 1.0.0.Tokyo(Aug 5, 2018)

Owner
Vorlonsoft LLC
Software development and IT consulting
 Vorlonsoft LLC
Helper to upload Gradle Android Artifacts, Gradle Java Artifacts and Gradle Kotlin Artifacts to Maven repositories (JCenter, Maven Central, Corporate staging/snapshot servers and local Maven repositories).

GradleMavenPush Helper to upload Gradle Android Artifacts, Gradle Java Artifacts and Gradle Kotlin Artifacts to Maven repositories (JCenter, Maven Cen

 Vorlonsoft LLC 21 Oct 3, 2022
Gradle Replace In Place (GRIP): a gradle plugin to update your documentation or any file with a simple gradle task

GRIP (Gradle Replace In-Place) A gradle tool to update some values in your (documentation) files by running a task. (inspired by Knit) Directives Inse

Grégory Lureau 2 Oct 18, 2022
gradle-android-scala-plugin adds scala language support to official gradle android plugin

gradle-android-scala-plugin gradle-android-scala-plugin adds scala language support to official gradle android plugin. See also sample projects at htt

saturday06 345 Dec 10, 2022
Ownership-gradle-plugin - Gradle code ownership verification plugin

Gradle code ownership verification plugin A gradle plugin that will verify owner

null 4 Dec 15, 2022
GPP is Android's unofficial release automation Gradle Plugin. It can do anything from building, uploading, and then promoting your App Bundle or APK to publishing app listings and other metadata.

Gradle Play Publisher Gradle Play Publisher is Android's unofficial release automation Gradle Plugin. It can do anything from building, uploading, and

null 3.9k Dec 30, 2022
A Gradle Plugin that removes unused resources in Android projects.

#Lint Cleaner Plugin Removes unused resources reported by Android lint including strings, colors and dimensions. Depracated As of Android Studio 2.0+

Marco RS 705 Nov 25, 2022
Add a different ribbon to each of your Android app variants using this gradle plugin. Of course, configure it as you will

Easylauncher gradle plugin for Android Modify the launcher icon of each of your app-variants using simple gradle rules. Add ribbons of any color, over

Mikel 960 Dec 18, 2022
A small plugin which loads an additional properties file for secret values.

Gradle Secrets Plugin A small plugin which loads an additional properties file for secret values. Why Using this plugin, you can have an additional fi

null 7 Dec 25, 2022
An easy-to-use sbt plugin for working with all Android projects

Build Android Projects Using SBT http://scala-android.org/ Change log | FAQ Auto-import from gradle using sbt-android-gradle NOTE: 1.6.0 is the last v

Scala on Android 749 Nov 20, 2022
Provides a shortcut to copy permalink in their online Git repositories from inside IDE.

Copy Git Link Provides a shortcut to copy permalink in their online Git repositories from inside IDE. Works with: GitHub GitLab Bitbucket My.Movie.4.3

ryo 13 Jan 3, 2023