MVN

net.mamoe : mirai-core-mock

Maven & Gradle

Jul 10, 2023
14k stars

mirai-core-mock · Mirai core mock testing framework

<dependency>
    <groupId>net.mamoe</groupId>
    <artifactId>mirai-core-mock</artifactId>
    <version>2.15.0</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of net.mamoe : mirai-core-mock to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 2.15.0
  • Latest Release Candidate: 2.15.0-RC

All Versions

Choose a version of net.mamoe : mirai-core-mock to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
2.15.x
mirai-core-mock-2.15.0
mirai-core-mock-2.15.0-RC
mirai-core-mock-2.15.0-M1
2.14.x
mirai-core-mock-2.14.0
mirai-core-mock-2.14.0-RC
2.13.x
mirai-core-mock-2.13.4
mirai-core-mock-2.13.3
mirai-core-mock-2.13.2
mirai-core-mock-2.13.1
mirai-core-mock-2.13.0
mirai-core-mock-2.13.0-RC2
mirai-core-mock-2.13.0-RC

How to add a dependency to Maven

Add the following net.mamoe : mirai-core-mock maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>net.mamoe</groupId>
    <artifactId>mirai-core-mock</artifactId>
    <version>2.15.0</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following net.mamoe : mirai-core-mock gradle dependency to your build.gradle file:

implementation 'net.mamoe:mirai-core-mock:2.15.0'

Gradle Kotlin DSL: Add the following net.mamoe : mirai-core-mock gradle kotlin dependency to your build.gradle.kts file:

implementation("net.mamoe:mirai-core-mock:2.15.0")

How to add a dependency to SBT Scala

SBT Scala: Add the following net.mamoe : mirai-core-mock sbt scala dependency to your build.sbt file:

libraryDependencies += "net.mamoe" % "mirai-core-mock" % "2.15.0"