forked from AlexeyDmitriev/JHelper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
56 lines (47 loc) · 1.3 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
plugins {
id 'java'
id 'org.jetbrains.intellij' version '1.13.0'
}
group 'name.admitriev.jhelper'
version '0.21.7'
repositories {
maven { url 'https://maven.aliyun.com/repository/public/' }
mavenCentral()
}
sourceSets {
main.java.srcDirs = ['src']
main.resources.srcDirs = ['resources']
}
runIde {
jvmArgs '--add-exports', 'java.base/jdk.internal.vm=ALL-UNNAMED'
maxHeapSize = "4g"
}
dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.13.1'
implementation fileTree(dir: 'lib', include: 'chelper.jar')
implementation('com.google.guava:guava:31.1-jre')
implementation('com.google.code.gson:gson:2.10')
}
// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
version = '2022.3.2'
plugins = [
'com.intellij.clion',
'com.intellij.cidr.base',
'com.intellij.cidr.lang',
'org.jetbrains.plugins.terminal'
]
updateSinceUntilBuild = false
type = 'CL'
}
patchPluginXml {
changeNotes = "Fix removal of OCRunConfigurationWithResolveConfiguration in 2022.3"
sinceBuild = "223.8617.54"
}
allprojects {
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
}