Search Gradle plugins

io.github.jcohy.gradle.convention

Owner: Jcohy

The plugin provides configuration with three conventions. Conventions when using the JavaBasePlugin, conventions when using the MavenPublishPlugin plugin, conventions when using the AsciidoctorJPlugin plugin

https://github.com/jcohy/jcohy-gradle-plugins

Sources: https://github.com/jcohy/jcohy-gradle-plugins

Version 3.0.0.8 (latest)

Created 07 September 2023.

The plugin provides configuration with three conventions. Conventions when using the JavaBasePlugin, conventions when using the MavenPublishPlugin plugin, conventions when using the AsciidoctorJPlugin plugin

Using the plugins DSL:

plugins {
  id("io.github.jcohy.gradle.convention") version "3.0.0.8"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.github.jcohy:jcohy-java-convention:3.0.0.8")
  }
}

apply(plugin = "io.github.jcohy.gradle.convention")

Using the plugins DSL:

plugins {
  id "io.github.jcohy.gradle.convention" version "3.0.0.8"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.jcohy:jcohy-java-convention:3.0.0.8"
  }
}

apply plugin: "io.github.jcohy.gradle.convention"

Learn how to apply plugins to subprojects