-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle.kts
70 lines (61 loc) · 1.77 KB
/
build.gradle.kts
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
plugins {
id("org.jetbrains.intellij") version "1.14.2"
id("groovy")
}
dependencies {
sourceSets.named("test") {
testImplementation("org.codehaus.groovy:groovy-all:2.4.14")
testImplementation("org.opentest4j:opentest4j:1.3.0")
}
}
buildscript {
project.apply {
from("$rootDir/config/extra-settings.gradle.kts")
}
}
group = "com.oroplatform"
version = "1.1.1"
val javaLanguageVersionSetting = project.extra["javaLanguageVersionSetting"].toString()
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(javaLanguageVersionSetting))
}
}
intellij {
pluginName.set("idea-oroplatform-plugin")
type.set("IU")
version.set("2024.2")
plugins.set(listOf(
"com.jetbrains.php:242.20224.387",
"yaml",
"java-i18n",
"properties",
"css-impl",
"JavaScript",
"com.jetbrains.twig:242.20224.385"
))
sandboxDir.set("${project.rootDir}/.idea-sandbox")
}
repositories {
mavenCentral()
}
tasks {
runIde {
val pathToIde = project.extra["pathToIde"]
ideDir.set(file("$pathToIde"))
}
buildSearchableOptions {
enabled = true
}
test {
// OPP-80: The tests that target PHP code completion and JS completion
// or those that use the information no longer present in classes.php in the newer version of the platform
// are obsolete, as they assume that classes.php will store
// data required for indexing, hence they should be removed from tests
// Alek Mosingiewicz
setExcludes(listOf(
"*com/oroplatform/idea/oroplatform/intellij/codeAssist/javascript*",
"*com/oroplatform/idea/oroplatform/intellij/codeAssist/yml/v1/AclPhpReferenceTest*",
))
}
}