Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.itiviti.dotnet") version "1.4.0"
}

Using legacy plugin application:

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

apply(plugin = "com.itiviti.dotnet")

Using the plugins DSL:

plugins {
  id "com.itiviti.dotnet" version "1.4.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.itiviti.gradle:gradle-dotnet-plugin:1.4.0"
  }
}

apply plugin: "com.itiviti.dotnet"

Learn how to apply plugins to subprojects