1 Star 0 Fork 1

王科教/intellij-postfix-templates

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle.kts 3.07 KB
一键复制 编辑 原始数据 按行查看 历史
xylo 提交于 2023-02-16 16:34 . fixed some deprecations
plugins {
// Java support
id("java")
// Kotlin support
id("org.jetbrains.kotlin.jvm") version "1.7.10"
// Gradle Changelog Plugin
//id("org.jetbrains.changelog") version "1.3.1"
// Gradle Qodana Plugin
id("org.jetbrains.qodana") version "0.1.13"
// Gradle IntelliJ Plugin
id("org.jetbrains.intellij") version "1.13.0"
}
group = "com.intellij"
version = "2.16.4.231"
tasks.withType<JavaCompile> {
sourceCompatibility = "17"
targetCompatibility = "17"
options.encoding = "UTF-8"
}
repositories {
mavenCentral()
}
dependencies {
implementation("commons-io:commons-io:2.11.0")
implementation("org.apache.commons:commons-lang3:3.12.0")
implementation("com.fasterxml.jackson.core:jackson-core:2.14.2")
implementation("com.fasterxml.jackson.core:jackson-databind:2.14.2")
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.14.2")
implementation("io.sentry:sentry:6.9.0") {
exclude("org.slf4j")
}
// https://mvnrepository.com/artifact/org.projectlombok/lombok
compileOnly("org.projectlombok:lombok:1.18.26")
annotationProcessor("org.projectlombok:lombok:1.18.26")
testCompileOnly("org.projectlombok:lombok:1.18.26")
testAnnotationProcessor("org.projectlombok:lombok:1.18.26")
testImplementation("junit:junit:4.13.2")
}
sourceSets {
main {
java.srcDirs("src", "gen")
resources.srcDir("resources")
}
test {
java.srcDir("test/src")
resources.srcDir("test/resources")
}
}
intellij {
// full list of IntelliJ IDEA releases at https://www.jetbrains.com/intellij-repository/releases
// full list of IntelliJ IDEA EAP releases at https://www.jetbrains.com/intellij-repository/snapshots
//version "IU-212.4037-EAP-CANDIDATE-SNAPSHOT"
type.set("IU")
version.set("231.6890-EAP-CANDIDATE-SNAPSHOT")
plugins.set(
listOf(
"java",
"Pythonid:231.6890.12",
"Kotlin",
"org.intellij.scala:2023.1.7",
"JavaScript",
//"CSS",
"Dart:231.6890.12",
"Groovy",
"properties",
"org.jetbrains.plugins.ruby:231.6890.12",
"com.jetbrains.php:231.6890.12",
"java-i18n",
"DatabaseTools",
"org.rust.lang:0.4.188.5205-231",
"org.toml.lang",
"org.jetbrains.plugins.go:231.6890.12",
"nl.rubensten.texifyidea:0.7.26"
)
)
updateSinceUntilBuild.set(true)
}
tasks {
// Avoid ClassNotFoundException: com.maddyhome.idea.copyright.psi.UpdateCopyrightsProvider
buildSearchableOptions {
// jvmArgs = ["-Djava.system.class.loader=com.intellij.util.lang.PathClassLoader"]
enabled = false
}
runPluginVerifier {
//ideVersions.set(listOf(intellij.type.get() + "-" + intellij.version.get()))
//ideVersions("IU-222.3345.118")
//setFailureLevel(RunPluginVerifierTask.FailureLevel.ALL)
}
publishPlugin {
token.set(System.getenv("ORG_GRADLE_PROJECT_intellijPublishToken"))
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/wangkejiao/intellij-postfix-templates.git
git@gitee.com:wangkejiao/intellij-postfix-templates.git
wangkejiao
intellij-postfix-templates
intellij-postfix-templates
idea-231

搜索帮助

0d507c66 1850385 C8b1a773 1850385