1 Star 0 Fork 0

Memory/ZhiYouToolkit

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.gradle.kts 2.24 KB
一键复制 编辑 原始数据 按行查看 历史
Memory 提交于 2024-06-17 23:30 . 修改描述
plugins {
id("java")
id("org.jetbrains.intellij") version "1.15.0"
}
group = "cn.zhiyou"
version = "1.4.2"
repositories {
mavenCentral()
}
dependencies {
implementation("cn.hutool:hutool-all:5.8.26")
implementation("com.belerweb:pinyin4j:2.5.1")
implementation("com.github.jsqlparser:jsqlparser:4.7")
implementation("mysql:mysql-connector-java:8.0.22")
implementation("org.jasypt:jasypt:1.9.3")
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.16.1")
}
// Configure Gradle IntelliJ Plugin
// Read more: https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
intellij {
// version.set("2022.2.5")
version.set("2023.2.4")
type.set("IU") // Target IDE Platform IU旗舰版要付费,也就是说打开Run Plugin时要输入license
pluginName.set("ZhiYouToolkit")
downloadSources.set(true)
plugins.set(
listOf(
"com.intellij.java",
"com.intellij.database",
"com.jetbrains.sh",
"org.jetbrains.kotlin",
"JavaScript"
)
)
}
tasks {
runIde {
// 开启内部模式
systemProperty("idea.is.internal", true)
autoReloadPlugins.set(true)
// Enable hotswap, requires JBR 17+ or JBR 11 with DCEVM, and run in debug mode.
jvmArgs(listOf("-XX:+AllowEnhancedClassRedefinition"))
}
// Set the JVM compatibility versions
withType<JavaCompile> {
sourceCompatibility = "17"
targetCompatibility = "17"
options.encoding = "UTF-8"
}
patchPluginXml {
pluginDescription.set(projectDir.resolve("DESCRIPTION.md").readText())
changeNotes.set(projectDir.resolve("CHANGENOTES.md").readText())
// 支持2022.3版本到2024.1版本 (2022.3需要JDK17)
sinceBuild.set("223")
untilBuild.set("")
}
signPlugin {
certificateChain.set(System.getenv("CERTIFICATE_CHAIN"))
privateKey.set(System.getenv("PRIVATE_KEY"))
password.set(System.getenv("PRIVATE_KEY_PASSWORD"))
}
publishPlugin {
channels.set(listOf("beta"))
token.set(System.getenv("PUBLISH_TOKEN"))
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/MemoryZy/ZhiYouToolkit.git
git@gitee.com:MemoryZy/ZhiYouToolkit.git
MemoryZy
ZhiYouToolkit
ZhiYouToolkit
main

搜索帮助