Search Gradle plugins

Using the plugins DSL:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects