Search Gradle plugins

Using the plugins DSL:

plugins {
  id("love.forte.plugin.suspend-transform") version "0.8.0-beta1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("love.forte.plugin.suspend-transform:suspend-transform-plugin-gradle:0.8.0-beta1")
  }
}

apply(plugin = "love.forte.plugin.suspend-transform")

Using the plugins DSL:

plugins {
  id "love.forte.plugin.suspend-transform" version "0.8.0-beta1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "love.forte.plugin.suspend-transform:suspend-transform-plugin-gradle:0.8.0-beta1"
  }
}

apply plugin: "love.forte.plugin.suspend-transform"

Learn how to apply plugins to subprojects