1 Star 0 Fork 52

堕落一帅锅/MybatisFlex-Hepler

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle.kts 2.46 KB
一键复制 编辑 原始数据 按行查看 历史
时间淡忘一切 提交于 2024-02-18 15:16 . feat: 1、支撑生成kt文件
import org.gradle.internal.impldep.bsh.commands.dir
import org.gradle.internal.impldep.org.bouncycastle.cms.RecipientId.password
import org.gradle.internal.impldep.org.eclipse.jgit.lib.ObjectChecker.type
plugins {
id("java")
id("org.jetbrains.kotlin.jvm") version "1.9.10"
id("org.jetbrains.intellij") version "1.16.0"
}
group = "com.mybatisflex.plugin"
version = "1.6.4-RELEASE"
repositories {
maven {
setUrl("https://maven.aliyun.com/nexus/content/groups/public/")
}
}
// Configure Gradle IntelliJ Plugin
// Read more: https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
intellij {
// version.set("2023.2.1")
version.set("2023.2.5")
// version.set("2022.2.5")
type.set("IU") // Target IDE Platform
plugins.set(listOf("com.intellij.java", "org.jetbrains.kotlin", "com.intellij.database","com.intellij.spring.boot"))
}
dependencies {
implementation("com.alibaba.fastjson2:fastjson2:2.0.41")
implementation("cn.hutool:hutool-core:5.8.23")
implementation("cn.hutool:hutool-http:5.8.23")
implementation("com.github.jsqlparser:jsqlparser:4.7")
implementation(fileTree(mapOf("dir" to "libs", "includes" to listOf("*.jar"))))
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
tasks {
runIde {
// 启用热重载功能,使用Build菜单编译项目后无需重启调试进程即可完成, 仅支持JBR
jvmArgs = listOf(
"-XX:+AllowEnhancedClassRedefinition",
// "-javaagent:/Users/daijunxiong/Desktop/ja-netfilter-all/ja-netfilter.jar=jetbrains",
// "--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED",
// "--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED",
)
}
// Set the JVM compatibility versions
withType<JavaCompile> {
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
options.encoding = "utf-8"
}
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
patchPluginXml {
sinceBuild.set("202.*")
untilBuild.set("*.*")
}
signPlugin {
certificateChain.set(System.getenv("CERTIFICATE_CHAIN"))
privateKey.set(System.getenv("PRIVATE_KEY"))
password.set(System.getenv("PRIVATE_KEY_PASSWORD"))
}
publishPlugin {
token.set(System.getenv("ORG_GRADLE_PROJECT_intellijPublishToken"))
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/LLucifer/mybatis-flex-code-gen.git
[email protected]:LLucifer/mybatis-flex-code-gen.git
LLucifer
mybatis-flex-code-gen
MybatisFlex-Hepler
master

搜索帮助