Search Gradle plugins

Version 2.2.1 (latest)

Created 12 July 2021.

Common gradle configuration for Java or Groovy library

Using the plugins DSL:

plugins {
  id "ru.vyarus.java-lib" version "2.2.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "ru.vyarus:gradle-java-lib-plugin:2.2.1"
  }
}

apply plugin: "ru.vyarus.java-lib"

Using the plugins DSL:

plugins {
  id("ru.vyarus.java-lib") version "2.2.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("ru.vyarus:gradle-java-lib-plugin:2.2.1")
  }
}

apply(plugin = "ru.vyarus.java-lib")

Learn how to apply plugins to subprojects