-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
88 lines (73 loc) · 2.75 KB
/
build.gradle.kts
File metadata and controls
88 lines (73 loc) · 2.75 KB
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
88
plugins {
id("java")
id("org.jetbrains.kotlin.jvm") version "1.7.20"
id("org.jetbrains.intellij") version "1.13.0"
}
group = "team57"
version = "0.1.1"
repositories {
mavenCentral()
maven { url = uri("https://packages.jetbrains.team/maven/p/ij/intellij-dependencies")}
}
// Configure Gradle IntelliJ Plugin
// Read more: https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
intellij {
version.set("2022.2.3")
type.set("IC") // Target IDE Platform
plugins.set(listOf("java", "org.jetbrains.java.decompiler"))
}
dependencies {
implementation(project(":vendor:slicer4j:Slicer4J", "default"))
implementation("org.testng:testng:7.1.0")
testImplementation("com.intellij.remoterobot:remote-robot:0.11.18")
testImplementation ("com.intellij.remoterobot:remote-fixtures:0.11.18")
testImplementation ("org.junit.jupiter:junit-jupiter-api:5.9.2")
testImplementation ("org.junit.jupiter:junit-jupiter-api:5.9.2")
testRuntimeOnly ("org.junit.jupiter:junit-jupiter-engine:5.9.2")
testRuntimeOnly ("org.junit.platform:junit-platform-launcher:1.9.2")
// Logging Network Calls
testImplementation ("com.squareup.okhttp3:logging-interceptor:4.10.0")
// Video Recording
implementation ("com.automation-remarks:video-recorder-junit5:2.0")
}
tasks {
// Set the JVM compatibility versions
withType<JavaCompile> {
sourceCompatibility = "11"
targetCompatibility = "11"
}
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions.jvmTarget = "11"
}
patchPluginXml {
sinceBuild.set("222")
untilBuild.set("223.*")
}
downloadRobotServerPlugin {
version.set("0.11.18")
}
runIdeForUiTests {
systemProperty("robot-server.port", "8082")
systemProperty("jb.privacy.policy.text", "<!--999.999-->")
systemProperty("jb.consents.confirmation.enabled", "false")
systemProperty("ide.mac.message.dialogs.as.sheets", "false")
systemProperty("ide.mac.file.chooser.native", "false")
systemProperty("apple.laf.useScreenMenuBar", "false")
systemProperty("idea.trust.all.projects", "true")
systemProperty("ide.show.tips.on.startup.default.value", "false")
systemProperty("jbScreenMenuBar.enabled", "false")
systemProperty("idea.trust.all.projects", "true")
systemProperty("ide.show.tips.on.startup.default.value", "false")
}
signPlugin {
certificateChain.set(System.getenv("CERTIFICATE_CHAIN"))
privateKey.set(System.getenv("PRIVATE_KEY"))
password.set(System.getenv("PRIVATE_KEY_PASSWORD"))
}
publishPlugin {
token.set(System.getenv("PUBLISH_TOKEN"))
}
test {
exclude("**/pages/**")
}
}