Search Gradle plugins

Using the plugins DSL:

plugins {
  id("fr.lenra.gradle.actionscript") version "1.2.0-SNAPSHOT"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("fr.lenra.gradle:gradle-actionscript-plugin:1.2.0-SNAPSHOT")
  }
}

apply(plugin = "fr.lenra.gradle.actionscript")

Using the plugins DSL:

plugins {
  id "fr.lenra.gradle.actionscript" version "1.2.0-SNAPSHOT"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "fr.lenra.gradle:gradle-actionscript-plugin:1.2.0-SNAPSHOT"
  }
}

apply plugin: "fr.lenra.gradle.actionscript"

Learn how to apply plugins to subprojects