Search Gradle plugins

Using the plugins DSL:

plugins {
  id("us.ascendtech.gwt.classic") version "0.3.1-SNAPSHOT"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "us.ascendtech.gwt.classic" version "0.3.1-SNAPSHOT"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects