Search Gradle plugins

Version 3.0.0 (latest)

3.0.0

Created 10 March 2024.

Common gradle configuration for Java or Groovy library

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects