forked from Checkmarx/ast-jetbrains-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
87 lines (71 loc) · 2.34 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
78
79
80
81
82
83
84
85
86
87
plugins {
id 'io.freefair.lombok' version '8.10.2'
id 'org.jetbrains.intellij' version '1.17.4'
id 'java'
}
group 'com.checkmarx'
version System.getenv('RELEASE_VERSION') ?: "dev"
def javaWrapperVersion = System.getenv('JAVA_WRAPPER_VERSION')
def remoteRobotVersion = '0.11.16'
repositories {
mavenCentral()
maven {
url = 'https://packages.jetbrains.team/maven/p/ij/intellij-dependencies'
}
maven {
url = 'https://oss.sonatype.org/content/repositories/snapshots'
}
}
dependencies {
testImplementation 'com.intellij.remoterobot:remote-robot:' + remoteRobotVersion
testImplementation 'com.intellij.remoterobot:remote-fixtures:' + remoteRobotVersion
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.11.2'
// Video Recording
testImplementation 'com.automation-remarks:video-recorder-junit5:2.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.11.3'
// https://mvnrepository.com/artifact/com.miglayout/miglayout-swing
implementation 'com.miglayout:miglayout-swing:11.4.2'
if (javaWrapperVersion == "" || javaWrapperVersion == null) {
implementation 'com.checkmarx.ast:ast-cli-java-wrapper:2.1.2'
} else {
implementation 'com.checkmarx.ast:ast-cli-java-wrapper:' + javaWrapperVersion
}
implementation(platform("com.fasterxml.jackson:jackson-bom:2.18.1"))
// Temporary workaround https://github.com/FasterXML/jackson-databind/issues/3428
}
// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
version = '2022.2.1'
updateSinceUntilBuild = false
}
runPluginVerifier {
ideVersions = ['IC-2021.1.1', 'IC-2021.2', 'IC-2021.3', 'IC-2022.1', 'IC-2022.2']
}
downloadRobotServerPlugin {
version = remoteRobotVersion
}
test {
useJUnitPlatform()
systemProperty 'uiWaitDuration', project.findProperty('uiWaitDuration') ?: 300
testLogging {
showStandardStreams = true
}
}
runIdeForUiTests {
systemProperty 'jb.privacy.policy.text', '<!--999.999-->'
systemProperty 'jb.consents.confirmation.enabled', 'false'
}
publishPlugin {
token.set System.getenv("PUBLISH_TOKEN")
if (project.hasProperty("rchannels")) {
channels = [rchannels.toString()]
}
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
}
patchPluginXml {
sinceBuild = '211.6693.111'
}