Search Gradle plugins

Using the plugins DSL:

plugins {
  id("us.ascendtech.gwt.modern") version "0.4.11"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.us.ascendtech:gwt-gradle:0.4.11")
  }
}

apply(plugin = "us.ascendtech.gwt.modern")

Using the plugins DSL:

plugins {
  id "us.ascendtech.gwt.modern" version "0.4.11"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.us.ascendtech:gwt-gradle:0.4.11"
  }
}

apply plugin: "us.ascendtech.gwt.modern"

Learn how to apply plugins to subprojects