-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
49 lines (38 loc) · 1.24 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
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
plugins {
id 'idea'
id 'java'
id 'org.jetbrains.intellij' version '1.3.0'
}
def htmlFixer = { htmlFile -> file(htmlFile).text.replace('<html>', '').replace('</html>', '') } as Object
group 'dev.dohpaz.phpStorm.phpExtras'
version '2.2.0'
sourceCompatibility = javaVersion
targetCompatibility = javaTargetVersion
repositories {
mavenCentral()
}
// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
version = ideaVersion
pluginName = 'PHP Extras'
plugins = [
"com.jetbrains.php:${phpPluginVersion}",
"properties",
"java"
]
}
runIde {
ideDir = file(System.getProperty("user.home") + "/Library/Application Support/JetBrains/Toolbox/apps/PhpStorm/ch-1/" + ideVersion + "/PhpStorm.app/Contents")
}
patchPluginXml {
sinceBuild = sinceBuildVersion
untilBuild = ""
changeNotes = htmlFixer('src/main/resources/META-INF/change-notes.html')
pluginDescription = htmlFixer('src/main/resources/META-INF/description.html')
}
wrapper {
gradleVersion = gradleVersion
}
test.testLogging.exceptionFormat = TestExceptionFormat.FULL
compileJava.options.encoding = 'UTF-8'