-
Notifications
You must be signed in to change notification settings - Fork 18
/
build.gradle
77 lines (70 loc) · 2.68 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
buildscript {
repositories {
maven { url "https://www.jetbrains.com/intellij-repository/releases/" }
maven { url 'https://maven.aliyun.com/repository/public/' }
maven { url "https://maven.hq.hydraulic.software" }
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://plugins.gradle.org/m2/" }
mavenCentral()
google()
gradlePluginPortal()
mavenLocal()
}
}
plugins {
id 'java'
id 'org.jetbrains.intellij' version '1.13.2'
// Gradle Changelog Plugin
id 'org.jetbrains.changelog' version "1.3.1"
// Gradle Qodana Plugin
id 'org.jetbrains.qodana' version "0.1.13"
id 'io.freefair.lombok' version "8.0.1"
}
allprojects {
repositories {
maven { url "https://www.jetbrains.com/intellij-repository/releases/" }
maven { url 'https://maven.aliyun.com/repository/public/' }
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://maven.hq.hydraulic.software" }
maven { url "https://plugins.gradle.org/m2/" }
mavenCentral()
google()
gradlePluginPortal()
mavenLocal()
}
}
group 'com.linkkou'
version '5.0.1'
dependencies {
testImplementation 'junit:junit:4.13.2'
implementation 'org.javatuples:javatuples:1.2'
compileOnly 'org.jetbrains:annotations:24.0.1'
annotationProcessor 'org.projectlombok:lombok:1.18.26'
}
java {
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
}
/*https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html#intellij-platform-based-products-of-recent-ide-versions*/
/*https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension*/
intellij {
pluginName = 'TreeInfotip'
// 开发环境运行时使用的版本,不同的版本编译会采用默认支持java版本编译
version = '2022.3.2'
//沙箱目录位置,用于保存IDEA的设置,默认在build文件下面,防止clean,放在根目录下。
sandboxDir = "${rootProject.rootDir}/idea-sandbox"
type = 'IU'
// 依赖的插件
//plugins = ['DatabaseTools', 'Velocity']
//Disables updating since-build attribute in plugin.xml
updateSinceUntilBuild = false
downloadSources = false
//localPath = '/Applications/IntelliJ IDEA.app/Contents'
//localPath = '/Applications/WebStorm.app/Contents'
}
runIde {
jvmArgs = [
"-javaagent:/Applications/jetbra/fineagent.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"]
}