-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle.kts
33 lines (29 loc) · 904 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
32
33
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
val kotlinVersion = "1.6.10"
kotlin("jvm") version kotlinVersion
kotlin("plugin.serialization") version kotlinVersion
id("net.mamoe.mirai-console") version "2.11.0-M2.2"
}
group = "com.hcyacg"
version = "1.6.1"
repositories {
// mavenLocal()
// maven("https://maven.aliyun.com/repository/public")
// maven("https://maven.aliyun.com/repository/gradle-plugin")
mavenCentral()
}
dependencies {
implementation("org.apache.httpcomponents:httpclient:4.5.13")
implementation("com.squareup.okhttp3:okhttp:4.2.2")
implementation("com.alibaba:fastjson:1.2.76")
implementation(kotlin("stdlib-jdk8"))
}
val compileKotlin: KotlinCompile by tasks
compileKotlin.kotlinOptions {
jvmTarget = "1.8"
}
val compileTestKotlin: KotlinCompile by tasks
compileTestKotlin.kotlinOptions {
jvmTarget = "1.8"
}