Search Gradle plugins

Using the plugins DSL:

plugins {
  id("com.pswidersk.python-plugin") version "1.6.0"
}

Using legacy plugin application:

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

apply(plugin = "com.pswidersk.python-plugin")

Using the plugins DSL:

plugins {
  id "com.pswidersk.python-plugin" version "1.6.0"
}

Using legacy plugin application:

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

apply plugin: "com.pswidersk.python-plugin"

Learn how to apply plugins to subprojects