Search Gradle plugins

Using the plugins DSL:

plugins {
  id("io.cloudflight.autoconfigure.java-configure") version "0.8.3-rc.0.0+20221103T145630Z"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.cloudflight.gradle:autoconfigure:0.8.3-rc.0.0+20221103T145630Z")
  }
}

apply(plugin = "io.cloudflight.autoconfigure.java-configure")

Using the plugins DSL:

plugins {
  id "io.cloudflight.autoconfigure.java-configure" version "0.8.3-rc.0.0+20221103T145630Z"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.cloudflight.gradle:autoconfigure:0.8.3-rc.0.0+20221103T145630Z"
  }
}

apply plugin: "io.cloudflight.autoconfigure.java-configure"

Learn how to apply plugins to subprojects