generated from project-mirai/mirai-console-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
31 lines (25 loc) · 1011 Bytes
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
plugins {
val kotlinVersion = "1.8.0"
kotlin("jvm") version kotlinVersion
kotlin("plugin.serialization") version kotlinVersion
id("net.mamoe.mirai-console") version "2.13.2"
}
dependencies {
val overflow_version = "2.16.0-db61867-SNAPSHOT"
implementation("org.json:json:20230227")
implementation("cn.hutool:hutool-http:5.8.26")
implementation("org.apache.httpcomponents:httpclient:4.5.14")
compileOnly("top.mrxiaom:overflow-core-api:$overflow_version")
compileOnly("top.mrxiaom:overflow-core:$overflow_version")
compileOnly(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))
}
group = "ltd.guimc.plugin"
version = "0.1.0"
repositories {
if (System.getenv("CI")?.toBoolean() != true) {
maven("https://maven.aliyun.com/repository/public") // 阿里云国内代理仓库
}
maven { url = uri("https://repo.repsy.io/mvn/chrynan/public") }
maven("https://s01.oss.sonatype.org/content/repositories/snapshots")
mavenCentral()
}