forked from arhont375/intellij-thrift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
42 lines (35 loc) · 1.16 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
import org.gradle.api.tasks.testing.logging.TestLogEvent
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
plugins {
id "org.jetbrains.intellij" version "1.15.0" apply false
}
subprojects {
apply plugin: 'java'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
repositories {
mavenLocal()
mavenCentral()
maven { setUrl("https://repo.gradle.org/gradle/repo") }
maven { setUrl("https://maven.google.com/") }
}
apply plugin: 'org.jetbrains.intellij'
intellij {
version = project.property('ideaVersion')
plugins = ['copyright', 'java']
downloadSources = Boolean.valueOf(project.property('sources') as String)
sameSinceUntilBuild = Boolean.valueOf(project.property('isEAP') as String)
}
tasks.named('patchPluginXml') {
sinceBuild = project.property('ideaSinceVersion')
pluginId = "thrift-syntax-fork"
}
test {
useJUnitPlatform()
testLogging {
exceptionFormat = TestExceptionFormat.FULL
events = Set.of(TestLogEvent.PASSED, TestLogEvent.SKIPPED, TestLogEvent.FAILED)
}
}
}