Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.sqlapp.db") version "0.8.14"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.sqlapp:sqlapp-gradle-plugin:0.8.14")
  }
}

apply(plugin = "com.sqlapp.db")

Using the plugins DSL:

plugins {
  id "com.sqlapp.db" version "0.8.14"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.sqlapp:sqlapp-gradle-plugin:0.8.14"
  }
}

apply plugin: "com.sqlapp.db"

Learn how to apply plugins to subprojects