forked from Haehnchen/idea-php-laravel-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
58 lines (46 loc) · 1.31 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
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
buildscript {
repositories {
mavenCentral()
maven { url 'http://dl.bintray.com/jetbrains/intellij-plugin-service' }
}
}
plugins {
id "org.jetbrains.intellij" version "0.3.11"
id 'com.palantir.git-version' version "0.11.0"
}
def htmlFixer = { htmlFile -> file(htmlFile).text.replace('<html>', '').replace('</html>', '') }
apply plugin: 'idea'
apply plugin: 'org.jetbrains.intellij'
apply plugin: 'java'
intellij {
version ideaVersion
updateSinceUntilBuild false
plugins = [
"com.jetbrains.php:${phpPluginVersion}",
"com.jetbrains.php.blade:${bladePluginVersion}",
'CSS',
'java-i18n',
'properties'
]
pluginName 'Laravel Plugin'
}
patchPluginXml {
sinceBuild '173'
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'
def details = versionDetails()
if (details.isCleanTag) {
version = "${details.lastTag}"
} else {
version = "${details.lastTag}.${details.gitHash}-SNAPSHOT"
}
wrapper {
gradleVersion '4.3.1'
}
test.testLogging.exceptionFormat = TestExceptionFormat.FULL