Search Gradle plugins

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.freefair.maven-publish-java") version "2.3.1"
}

See also:

  • The legacy method of plugin application.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("io.freefair.gradle:gradle-plugins:2.3.1")
      }
    }
    
    apply(plugin = "io.freefair.maven-publish-java")
  • Applying plugins to all subprojects .