Gradle plugin for Hugo static site generator

Overview

gradle-hugo-plugin

Wrapper for Hugo static site generator.

The plugin provides a declarative approach for the Hugo binary used to build the static site.
The requested Hugo version is downloaded and cached by Gradle to ensure that your static site is built with the right version of Hugo.

Extension configuration

Plugin extension is available to override general configuration (default values provided below).

hugo {
    // Hugo version
    version = "0.89.1"
    // Download URL for Windows (`{0}` can be used to replace version)
    windowsDownloadUrl = "https://github.com/gohugoio/hugo/releases/download/v{0}/hugo_extended_{0}_Windows-64bit.zip"
    // Download URL for Linux (`{0}` can be used to replace version)
    linuxDownloadUrl = "https://github.com/gohugoio/hugo/releases/download/v{0}/hugo_extended_{0}_Linux-64bit.tar.gz"
    // Download URL for macOS (`{0}` can be used to replace version)
    macOSDownloadUrl = "https://github.com/gohugoio/hugo/releases/download/v{0}/hugo_extended_{0}_macOS-64bit.tar.gz"
    // Operating system family (Windows, macOS or Unix)
    osFamily = io.github.fstaudt.hugo.OsFamily.CURRENT_SYSTEM // default value derived from system property "os.name"
}

Tasks

hugo

Execute any Hugo command (e.g. new, serve ...).

Option command allows to specify the Hugo command to execute.
It defaults to new site ..

gradle hugo --command=serve

hugoBuild

Build Hugo static site for publication.
Sources of Hugo site must be stored in src/main/hugo.

Task configuration can be overridden according to your needs (default values provided below).

tasks.hugoBuild {
    // Output directory for build result
    outputDirectory = File("$buildDir/hugo/publish")
    // additional path in output directory
    publicationPath = ""
    // additional build arguments (appended to "-d" argument generated from previous properties) 
    arguments = emptyList()
}

đź’ˇ This task is cacheable and should be preferred to hugo task to build Hugo static site.

hugoDownload

Download Hugo binary for the current OS (Windows, macOS or Linux).

By default, downloaded version is Hugo extended v0.89.1.
Downloaded version can be configured in Extension configuration.

This task is a dependency of the previous tasks.

Integration with Spring Boot

Hugo gradle plugin can be used in combination with Spring Boot gradle plugin to serve a static website in a Spring Boot application.

plugins {
    java
    id("io.spring.dependency-management") version "1.0.11.RELEASE"
    id("org.springframework.boot") version "2.5.6"
    id("io.github.fstaudt.hugo") version "0.1.0"
}
tasks.hugoBuild {
    publicationPath = "static"
    sourceSets {
        main {
            resources {
                srcDir(outputDirectory)
            }
        }
    }
}
tasks.classes { dependsOn(tasks.hugoBuild) }

Since Hugo pages will be served as static resources, it is required to enable ugly URLs in Hugo configuration.

uglyUrls = true
Comments
  • Example repo

    Example repo

    Hi @fstaudt, nice plugin!

    Do you have an example repo for how to use the plugin along some Hugo theme?

    I'm interested in using Docsy with the latest Hugo version supporting modules: https://www.docsy.dev/docs/updating/convert-site-to-module/

    I can help to create this example repo.

    opened by jadarve 2
  • build(deps): bump actions/checkout from 3.1.0 to 3.2.0

    build(deps): bump actions/checkout from 3.1.0 to 3.2.0

    Bumps actions/checkout from 3.1.0 to 3.2.0.

    Release notes

    Sourced from actions/checkout's releases.

    v3.2.0

    What's Changed

    New Contributors

    Full Changelog: https://github.com/actions/checkout/compare/v3...v3.2.0

    Changelog

    Sourced from actions/checkout's changelog.

    Changelog

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies github_actions 
    opened by dependabot[bot] 1
  • build(deps): bump actions/setup-java from 3.6.0 to 3.9.0

    build(deps): bump actions/setup-java from 3.6.0 to 3.9.0

    Bumps actions/setup-java from 3.6.0 to 3.9.0.

    Release notes

    Sourced from actions/setup-java's releases.

    v3.9.0

    In scope of this release we add support for .java-version file (actions/setup-java#426). For more information about its usage please refer to the documentation.

        steps:
          - uses: actions/checkout@v3
          - name: Setup java
            uses: actions/setup-java@v3
            with:
              distribution: '<distribution>'
              java-version-file: .java-version
          - run: java HelloWorldApp.java
    

    v3.8.0

    In scope of this release we added logic to pass the token input through on GHES for Microsoft Build of OpenJDK (actions/setup-java#395) and updated minimatch dependency.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies github_actions 
    opened by dependabot[bot] 1
  • build(deps): bump mockk-jvm from 1.13.2 to 1.13.3

    build(deps): bump mockk-jvm from 1.13.2 to 1.13.3

    Bumps mockk-jvm from 1.13.2 to 1.13.3.

    Release notes

    Sourced from mockk-jvm's releases.

    V1.13.3

    What's Changed

    New Contributors

    Full Changelog: https://github.com/mockk/mockk/compare/1.13.2...1.13.3

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies java 
    opened by dependabot[bot] 1
  • build(deps): bump mockk from 1.12.0 to 1.13.2

    build(deps): bump mockk from 1.12.0 to 1.13.2

    Bumps mockk from 1.12.0 to 1.13.2.

    Release notes

    Sourced from mockk's releases.

    1.13.2

    What's Changed

    New Contributors

    Full Changelog: https://github.com/mockk/mockk/compare/1.13.1...1.13.2

    1.13.1

    New major release, mainly because the dependency to be included in gradle/maven files has changed from io.mockk:mockk to io.mockk:mockk-<platform>, where platform is either jvm or android.

    What's Changed

    Full Changelog: https://github.com/mockk/mockk/compare/v1.12.8...1.13.1

    V1.12.8

    Big thanks to @​aSemy, @​qoomon and @​kubode for investigating and fixing the bugs introduced in v1.12.7 and further improving the library!

    What's Changed

    Full Changelog: https://github.com/mockk/mockk/compare/1.12.7...v1.12.8

    1.12.7

    What's Changed

    New Contributors

    Full Changelog: https://github.com/mockk/mockk/compare/1.12.6...1.12.7

    ... (truncated)

    Commits
    • 6d5fe10 Bump version to 1.13.3-SNAPSHOT
    • 85737c8 Merge pull request #933 from aSemy/add_jdk_19_to_test_matrix
    • 51dac76 Merge remote-tracking branch 'origin/master' into add_jdk_19_to_test_matrix
    • 985c6fe add jdk 19 to workflow test matrix
    • 159a50a Merge pull request #916 from stuebingerb/fix/fix-sealed-classes
    • 7cf6f19 Merge pull request #926 from aSemy/docs/readme_update_dependencies
    • 00b8bb9 formatting, remove NBSPs
    • 7a826fc update dependencies in readme to reflect new multiplatform structure
    • 3c78f7c Updated the dependency name after 1.13.1 change
    • 5f7a350 Bump version after 1.13.1 release
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies java 
    opened by dependabot[bot] 1
  • build(deps): bump com.gradle.plugin-publish from 0.17.0 to 1.0.0

    build(deps): bump com.gradle.plugin-publish from 0.17.0 to 1.0.0

    Bumps com.gradle.plugin-publish from 0.17.0 to 1.0.0.

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies java 
    opened by dependabot[bot] 1
  • build(deps): bump assertj-core from 3.21.0 to 3.23.1

    build(deps): bump assertj-core from 3.21.0 to 3.23.1

    Bumps assertj-core from 3.21.0 to 3.23.1.

    Commits
    • 0256688 [maven-release-plugin] prepare release assertj-core-3.23.1
    • 6529933 Downgrade junit-jupiter from 5.9.0-M1 to 5.8.2
    • d9cd2da [maven-release-plugin] prepare for next development iteration
    • 6f19754 [maven-release-plugin] prepare release assertj-core-3.23.0
    • c592c18 Expose ComparisonStrategy::areEqual in AbstractAssert (#2633)
    • 69c66a9 Bump maven-invoker-plugin from 3.2.2 to 3.3.0 (#2636)
    • 795f527 Fix test
    • b444606 Bump hibernate-core from 6.0.1.Final to 6.0.2.Final (#2626)
    • 7932411 Fix typos in Javadoc of ObjectEnumerableAssert (#2624)
    • b746e6a [mvn] Update maven wrapper to 3.1.1 (#2622)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies java 
    opened by dependabot[bot] 1
  • build(deps): bump junit-jupiter-api from 5.8.1 to 5.9.1

    build(deps): bump junit-jupiter-api from 5.8.1 to 5.9.1

    Bumps junit-jupiter-api from 5.8.1 to 5.9.1.

    Release notes

    Sourced from junit-jupiter-api's releases.

    JUnit 5.9.1 = Platform 1.9.1 + Jupiter 5.9.1 + Vintage 5.9.1

    See Release Notes.

    JUnit 5.9.0 = Platform 1.9.0 + Jupiter 5.9.0 + Vintage 5.9.0

    See Release Notes.

    JUnit 5.9.0-RC1 = Platform 1.9.0-RC1 + Jupiter 5.9.0-RC1 + Vintage 5.9.0-RC1

    See Release Notes.

    JUnit 5.9.0-M1 = Platform 1.9.0-M1 + Jupiter 5.9.0-M1 + Vintage 5.9.0-M1

    See Release Notes.

    JUnit 5.8.2 = Platform 1.8.2 + Jupiter 5.8.2 + Vintage 5.8.2

    See Release Notes.

    Commits
    • 732a540 Release 5.9.1
    • 88bf48d Prepare release notes for 5.9.1
    • d75e34d Update scope for 5.9.1
    • 9823f73 Link to all 5.9 milestone pages
    • 76719bb Increase timeout for GraalVM test
    • 2a80984 Install GraalVM for main CI build on Linux
    • 79f47f5 Refactor OpenTestReportGeneratingListener to work in native images
    • 7229385 Add failing integration test for execution on GraalVM native image
    • 343170f Fix running tests in documentation from IntelliJ IDEA
    • 352d06b Attempt to stabilize test on Windows
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies java 
    opened by dependabot[bot] 1
  • build(deps): bump com.gradle.plugin-publish from 1.0.0 to 1.1.0

    build(deps): bump com.gradle.plugin-publish from 1.0.0 to 1.1.0

    Bumps com.gradle.plugin-publish from 1.0.0 to 1.1.0.

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies java 
    opened by dependabot[bot] 0
  • build(deps): bump actions/upload-artifact from 3.1.0 to 3.1.1

    build(deps): bump actions/upload-artifact from 3.1.0 to 3.1.1

    Bumps actions/upload-artifact from 3.1.0 to 3.1.1.

    Release notes

    Sourced from actions/upload-artifact's releases.

    v3.1.1

    • Update actions/core package to latest version to remove set-output deprecation warning #351
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies github_actions 
    opened by dependabot[bot] 0
  • build(deps): bump actions/setup-java from 3.5.1 to 3.6.0

    build(deps): bump actions/setup-java from 3.5.1 to 3.6.0

    Bumps actions/setup-java from 3.5.1 to 3.6.0.

    Release notes

    Sourced from actions/setup-java's releases.

    v3.6.0

    In scope of this release we added Maven Toolchains Support and Maven Toolchains Declaration. Moreover, from this release we use os.arch to determine default architecture for runners: actions/setup-java#376. Besides, we made such changes as:

    Commits
    • de1bb2b feat: support Gradle version catalog (#394)
    • 2c53c1a Update actions/cache to 3.0.4 version (#392)
    • 3617c43 Default to runner architecture (#376)
    • a82e6d0 Update README.md (#391)
    • fbb2692 Merge pull request #390 from rentziass/rentziass/update-actions-core
    • dfcd06a Update @​actions/core to 1.10.0
    • e150063 Merge pull request #282 from Okeanos/maven-toolchains-support
    • eb1418a Add Maven Toolchains Declaration (#276)
    • 499ae9c Merge pull request #387 from akv-platform/v-sdolin/issue-382-docs2
    • cdc5f29 Fix cross-refernces
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies github_actions 
    opened by dependabot[bot] 0
Releases(0.5.1)
  • 0.5.1(Jan 1, 2023)

    • :sparkles: bump default hugo version to 0.109.0
    • :construction_worker: bump gradle to 7.6
    • :construction_worker: bumps com.gradle.plugin-publish to 1.1.0
    Source code(tar.gz)
    Source code(zip)
  • 0.5.0(Oct 4, 2022)

    :sparkles: bump default hugo version to 0.104.3
    :construction_worker: bump gradle to 7.5.1
    :construction_worker: bumps com.gradle.plugin-publish to 1.0.0 :construction_worker: GitHub workflows for build, release & dependabot

    Breaking changes

    Default download URL have been updated to be compliant with Hugo versions above 0.103.0. For older versions, download URL for the 3 OS must be overwritten in hugo extension to be compliant with the Hugo version:

    hugo {
        version = "0.93.0"
        windowsDownloadUrl = "https://github.com/gohugoio/hugo/releases/download/v{0}/hugo_extended_{0}_Windows-64bit.zip"
        linuxDownloadUrl = "https://github.com/gohugoio/hugo/releases/download/v{0}/hugo_extended_{0}_Linux-64bit.tar.gz"
        macOSDownloadUrl = "https://github.com/gohugoio/hugo/releases/download/v{0}/hugo_extended_{0}_macOS-64bit.tar.gz"
    }
    
    Source code(tar.gz)
    Source code(zip)
  • 0.4.0(May 7, 2022)

    :sparkles: configurable directory for Hugo sources
    :sparkles: bump default hugo version to 0.98.0
    :construction_worker: bump gradle to 7.4.1

    Breaking changes

    source directory for hugo site defaults to site folder in project (previously src/main/hugo).

    To revert to previous configuration, source directory can be overwritten in hugo extension:

    hugo {
      sourceDirectory = "src/main/hugo"
    }
    
    Source code(tar.gz)
    Source code(zip)
  • 0.3.0(Mar 7, 2022)

    :sparkles: hugoServer task to run server for development
    :sparkles: bump default hugo version to 0.93.2
    :bug: consistent configuration in hugoBuild for additional args
    :construction_worker: bump gradle to 7.4

    Source code(tar.gz)
    Source code(zip)
  • 0.2.0(Nov 8, 2021)

    • :bug: avoid Gradle cache hits on hugoDownload between different operating systems

    Full Changelog: https://github.com/fstaudt/gradle-hugo-plugin/compare/0.1.0...0.2.0

    Source code(tar.gz)
    Source code(zip)
  • 0.1.0(Nov 8, 2021)

    • :sparkles: Hugo gradle plugin
      • download Hugo binary with cache
      • run any Hugo command with downloaded binary
      • build static site with cache

    Full Changelog: Full Changelog: https://github.com/fstaudt/gradle-hugo-plugin/compare/45753e5a...0.1.0

    Source code(tar.gz)
    Source code(zip)
Owner
François Staudt
François Staudt
Event State Processor Generator plugin is compatible with IntelliJ and Android Studio.

Event State Processor Generator plugin is compatible with IntelliJ and Android Studio. It provides source code generation for the EventStateProcessor Library to increase code productivity in Flutter apps development.

Extreme Vietnam Public 2 Dec 7, 2021
A static analyzer for Java, C, C++, and Objective-C

Infer Infer is a static analysis tool for Java, C++, Objective-C, and C. Infer is written in OCaml. Installation Read our Getting Started page for det

Meta 13.7k Jan 1, 2023
An extensible multilanguage static code analyzer.

PMD - source code analyzer PMD is a source code analyzer. It finds common programming flaws like unused variables, empty catch blocks, unnecessary obj

PMD 4.1k Dec 29, 2022
A simple plugin to patch the memory leak in Kotlin Gradle Plugin 1.5.0

kgp-150-leak-patcher A simple plugin to automatically patch the memory leak in Kotlin Gradle Plugin 1.5.0 in https://youtrack.jetbrains.com/issue/KT-4

Zac Sweers 40 Dec 20, 2021
Ktor OpenAPI Spec Generator

Kompendium What is Kompendium Kompendium is intended to be a minimally invasive OpenApi Specification generator for Ktor. Minimally invasive meaning t

Backbone 91 Jan 4, 2023
Kotlin DTO generator for Protobuf Messages

Kotlin DTO Generator for gRPC The protobuf plugin generates DTO classes for the corresponding messages in your *.proto files. The data classes in Kotl

Vlasov Artem 1 Nov 9, 2021
A metadata generator intended for the Android source tree

Metalava (Also known as "doclava2", but deliberately not named doclava2 since crucially it does not generate docs; it's intended only for metadata ext

null 0 Nov 17, 2021
A korge map generator for Pocket Palm Heroes remastered

Korge mapgen This is a korge map generator for Pocket Palm Heroes remastered. Algorithm Is based mostly on this presentation by Gus Smedstad, who is t

Alexey Kononov 4 Sep 6, 2022
This simple project will consist of an endless cat fact generator

MVVM is a structural design pattern and its based on the separation of the project structure into 3 main components: The Model, which is responsible f

Chinmay Deshpande 0 Dec 15, 2021
A clean OpenAPI client generator for Kotlin multiplatform

kotlin-openapi-generator A not yet feature complete client generator. Features: generates 100% Kotlin multiplatform code does not generate any useless

Jakob K 5 Jun 6, 2022
Gradle plugin to manage tests which should only run nightly and not every time a CI/CD pipeline builds.

NightlyTestsPlugin Gradle Plugin to configure which (j)Unit tests should only be run nightly and not everytime a CI/CD pipeline is triggered. Usage To

VISUS Health IT GmbH 0 Dec 7, 2021
A multiversion gradle scala plugin

WIP Work in Progress: Learning how to write a gradle plugin. A Scala multiversion plugin Inspired by: https://github.com/ADTRAN/gradle-scala-multivers

Ross Lawley 1 Dec 8, 2021
Gradle plugin which allows to use typed DSL for generating kubernetes/openshift YAML files

gr8s Gradle plugin which allows using typed DSL for generating kubernetes/openshift YAML files. Based on kuberig Usage import io.github.guai.gr8s.Gene

null 0 Jan 3, 2022
A Gradle plugin providing various utility methods and common code required to set up multi-version Minecraft mods.

Essential Gradle Toolkit A Gradle plugin providing various utility methods and common code required to set up multi-version Minecraft mods via archite

Essential 29 Nov 1, 2022
A project that helps us generate the test project to test the Gradle plugin.

Ktlint Gradle Provides the function to generate a Gradle project for us to test your Gradle plugin Latest plugin version: [1.0.0] Table of content How

Jack Chen 5 Jul 20, 2022
Kotlin backend based on the Clean Architecture principles. Ktor, JWT, Exposed, Flyway, KGraphQL/GraphQL generated endpoints, Gradle.

Kotlin Clean Architecture Backend Kotlin backend based on the Clean Architecture principles. The application is separated into three modules: Domain,

null 255 Jan 3, 2023
Create libraries for all types of Kotlin projects: android, JVM, Multiplatform, Gradle plugins, and so on.

JavierSC Kotlin template Create libraries for all types of Kotlin projects: android, JVM, Multiplatform, Gradle plugins, and so on. Features Easy to p

Javier Segovia CĂłrdoba 2 Dec 14, 2022
Basic RestAPI to practice my skills working with Spring/Kotlin/Gradle

Dining Review API Dining Review API is a basic RestAPI roughly based on the requirements given in a Milestone project in the Building REST APIs with J

Jonas Kuhlo 0 Nov 18, 2021
An Android template you can use to build your project with gradle kotlin dsl

Android Gradle KTS An Android template you can use to build your project with gradle kotlin dsl Build.gradle.kts You can use your project's build.grad

Deep 17 Sep 12, 2022