-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
42 lines (35 loc) · 1.12 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
plugins {
val kotlinVersion = "1.8.0"
kotlin("jvm") version kotlinVersion
kotlin("plugin.serialization") version kotlinVersion
id("com.github.gmazzo.buildconfig") version "3.1.0"
id("net.mamoe.mirai-console") version "2.16.0"
}
group = "top.mrxiaom"
version = "0.1.1"
buildConfig {
className("BuildConstants")
packageName("${project.group}.overflow.shamrock")
useKotlinOutput()
buildConfigField("String", "VERSION", "\"${project.version}\"")
}
repositories {
maven("https://maven.aliyun.com/repository/public")
maven("https://s01.oss.sonatype.org/content/repositories/snapshots")
mavenCentral()
}
mirai {
noTestCore = true
setupConsoleTestRuntime {
classpath = classpath.filter {
!it.nameWithoutExtension.startsWith("mirai-core-jvm")
}
}
}
dependencies {
compileOnly("top.mrxiaom:overflow-core-api:2.16.0+")
compileOnly("net.mamoe:mirai-core-utils:2.16.0")
implementation("org.apache.httpcomponents:httpclient:4.5.14")
implementation("org.apache.httpcomponents:httpmime:4.3")
testConsoleRuntime("top.mrxiaom:overflow-core:2.16.0+")
}