Search Gradle plugins

Using the plugins DSL:

plugins {
  id("io.github.FlyJingFish.AndroidAop.android-aop") version "1.6.9"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.github.FlyJingFish.AndroidAop:android-aop-plugin:1.6.9")
  }
}

apply(plugin = "io.github.FlyJingFish.AndroidAop.android-aop")

Using the plugins DSL:

plugins {
  id "io.github.FlyJingFish.AndroidAop.android-aop" version "1.6.9"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.FlyJingFish.AndroidAop:android-aop-plugin:1.6.9"
  }
}

apply plugin: "io.github.FlyJingFish.AndroidAop.android-aop"

Learn how to apply plugins to subprojects