mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-25 19:50:15 +08:00
* feat(idea): set proxy repository for gradle plugins * feat(idea): provide an option for whether to use the proxy repo * chore: update copyright * fix: rename the message key
22 lines
423 B
Plaintext
22 lines
423 B
Plaintext
plugins {
|
|
val kotlinVersion = "$KOTLIN_VERSION"
|
|
kotlin("jvm") version kotlinVersion
|
|
kotlin("plugin.serialization") version kotlinVersion
|
|
|
|
id("net.mamoe.mirai-console") version "$MIRAI_VERSION"
|
|
}
|
|
|
|
group = "$GROUP_ID"
|
|
version = "$VERSION"
|
|
|
|
repositories {
|
|
#if($USE_PROXY_REPO)
|
|
maven("https://maven.aliyun.com/repository/public")
|
|
#end
|
|
mavenCentral()
|
|
}
|
|
|
|
mirai {
|
|
jvmTarget = JavaVersion.VERSION_1_8
|
|
}
|