forked from Haehnchen/idea-php-laravel-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
53 lines (42 loc) · 1.11 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
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
plugins {
id "org.jetbrains.intellij" version "0.6.5"
}
repositories {
jcenter()
mavenCentral()
}
def htmlFixer = { htmlFile -> file(htmlFile).text.replace('<html>', '').replace('</html>', '') }
apply plugin: 'idea'
apply plugin: 'java'
sourceCompatibility = 1.8
targetCompatibility = 1.8
intellij {
version platformVersion
type platformType
updateSinceUntilBuild true
plugins = [
"com.jetbrains.php:${phpPluginVersion}",
"com.jetbrains.php.blade:${bladePluginVersion}",
'CSS',
'java-i18n',
'properties'
]
pluginName pluginName_
}
patchPluginXml {
version pluginVersion
sinceBuild sinceBuild
untilBuild untilBuild
changeNotes = htmlFixer('src/main/resources/META-INF/change-notes.html')
}
publishPlugin {
username System.getenv('IJ_REPO_USERNAME')
password System.getenv('IJ_REPO_PASSWORD')
}
group 'de.espend.idea.laravel'
version pluginVersion
wrapper {
gradleVersion '6.8.2'
}
test.testLogging.exceptionFormat = TestExceptionFormat.FULL