mirai/mirai-console/tools/intellij-plugin/resources/fileTemplates/code/Plugin build.gradle.kts.ft
Samarium f0bdd18d26
[idea] feat: provide an option for whether to use the proxy repo (#2636)
* 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
2023-04-24 15:22:38 +01:00

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
}