Search Gradle plugins

Version 2.0-M2-dev-4

2.0-M2-dev-4

Created 25 December 2020.

Gradle plugin for Mirai Console

Using the plugins DSL:

plugins {
  id("net.mamoe.mirai-console") version "2.0-M2-dev-4"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("net.mamoe:mirai-console-gradle:2.0-M2-dev-4")
  }
}

apply(plugin = "net.mamoe.mirai-console")

Using the plugins DSL:

plugins {
  id "net.mamoe.mirai-console" version "2.0-M2-dev-4"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "net.mamoe:mirai-console-gradle:2.0-M2-dev-4"
  }
}

apply plugin: "net.mamoe.mirai-console"

Learn how to apply plugins to subprojects