Search Gradle plugins

Using the plugins DSL:

plugins {
  id("fr.lenra.gradle.actionscript-library") version "1.6.2-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.2-SNAPSHOT")
  }
}

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects