1 Star 12 Fork 2

Thoughtworks/intellij-rainbow-brackets

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle 3.66 KB
一键复制 编辑 原始数据 按行查看 历史
张志豪 提交于 2021-02-12 22:57 +08:00 . Fix compile
import static org.jetbrains.intellij.tasks.RunPluginVerifierTask.FailureLevel.*
buildscript {
repositories {
mavenLocal()
gradlePluginPortal()
maven { url "https://maven-central.storage-download.googleapis.com/repos/central/data/" }
maven { url "https://maven.aliyun.com/nexus/content/groups/public/" }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "de.undercouch:gradle-download-task:4.0.2"
}
}
plugins {
id "org.jetbrains.intellij" version "0.6.5"
id "com.adarshr.test-logger" version "2.0.0"
id "de.undercouch.download" version "4.0.2"
id "org.jetbrains.kotlin.jvm" version "1.3.71"
id "idea"
}
testlogger {
theme 'mocha'
}
repositories {
mavenLocal()
maven { url "https://maven-central.storage-download.googleapis.com/repos/central/data/" }
maven { url "https://maven.aliyun.com/nexus/content/groups/public/" }
maven { url "https://repo.eclipse.org/content/groups/releases/" }
maven { url "https://www.jetbrains.com/intellij-repository/releases" }
maven { url "https://www.jetbrains.com/intellij-repository/snapshots" }
}
def pluginsDependencies = ['java',
'java-i18n',
'JavaScriptLanguage',
'DatabaseTools',
'CSS',
'platform-images',
'Groovy',
'properties',
'yaml',
"org.jetbrains.kotlin:$kotlinVersion-release-IJ2020.1-1",
'org.intellij.scala:2020.1.27',
'Dart:201.6668.124',
'org.jetbrains.plugins.ruby:201.6668.113',
'com.jetbrains.php:201.6668.113',
'com.jetbrains.sh:201.6668.74',
'com.jetbrains.plugins.jade:201.6668.153',
]
intellij {
pluginName name
version ideaVersion
//localPath = '/Users/izhangzhihao/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/201.6668.121/IntelliJ IDEA 2020.1 EAP.app/Contents'
//localPath = '/Users/izhangzhihao/Library/Application Support/JetBrains/Toolbox/apps/CLion/ch-0/201.6668.126/CLion.app/Contents'
updateSinceUntilBuild = false
setPlugins(*pluginsDependencies)
}
runIde {
systemProperty "idea.auto.reload.plugins", false
}
publishPlugin {
def authenticationToken = "$System.env.token"
token authenticationToken
channels publishChannels
}
idea {
project {
jdkName = javaVersion
languageLevel = javaVersion
}
}
def gistFile = { url, name ->
File file = new File("libs/${name}.jar")
file.parentFile.mkdirs()
if (!file.exists()) {
new URL(url).withInputStream { downloadStream ->
file.withOutputStream { fileOut ->
fileOut << downloadStream
}
}
}
files(file.absolutePath)
}
dependencies {
implementation("org.eclipse.mylyn.github:org.eclipse.egit.github.core:5.5.0.201909110433-r") {
exclude module: "gson"
}
compileOnly fileTree(dir: 'libs', include: ['*.jar'])
testImplementation("io.kotlintest:kotlintest:2.0.7")
}
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
[compileKotlin, compileTestKotlin]*.kotlinOptions {
languageVersion = kotlinLanguageVersion
apiVersion = kotlinTargetVersion
jvmTarget = javaVersion
freeCompilerArgs = ["-Xskip-runtime-version-check", "-Xjsr305=strict"]
}
runPluginVerifier {
ideVersions = "$pluginVerifierIdeVersions"
failureLevel = COMPATIBILITY_PROBLEMS
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Kotlin
1
https://gitee.com/thoughtworks/intellij-rainbow-brackets.git
git@gitee.com:thoughtworks/intellij-rainbow-brackets.git
thoughtworks
intellij-rainbow-brackets
intellij-rainbow-brackets
2020.1

搜索帮助