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.2.2.2 (latest)

3.2.2.2

Created 11 May 2024.

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.2.2.2"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects