Search Gradle plugins

Using the plugins DSL:

plugins {
  id "dev.combination.dotnet" version "1.0.13"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "dev.combination.dotnet:gradle-dotnet-plugin:1.0.13"
  }
}

apply plugin: "dev.combination.dotnet"

Using the plugins DSL:

plugins {
  id("dev.combination.dotnet") version "1.0.13"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("dev.combination.dotnet:gradle-dotnet-plugin:1.0.13")
  }
}

apply(plugin = "dev.combination.dotnet")

Learn how to apply plugins to subprojects