Skip to content

vanioinformatika/vanio-gradle

Repository files navigation

Vanio Gradle Plugins

Gradle convention plugin collection.

List of Plugins

  • common
  • apiDocs
  • testReport

Usage

Configure the plugin repository in settings.gradle.kts

pluginManagement {
    repositories {
        maven {
            name = "GitHubPackages"
            url = uri("https://maven.pkg.github.com/vanioinformatika/maven-releases")
            credentials {
                username = System.getenv("GPR_USERNAME")
                password = System.getenv("GPR_TOKEN")
            }
        }
    }
}

Add the necessary plugin (or plugins) to the plugins block in the build.gradle.kts

plugins {
    id("hu.vanio.gradle.common") version "0.0.2"
    id("hu.vanio.gradle.testReport") version "0.0.2"
    id("hu.vanio.gradle.apiDocs") version "0.0.2"
}