Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects