-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
63 lines (54 loc) · 1.91 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
59
60
61
62
63
plugins {
id "org.jetbrains.intellij" version "0.4.1"
}
repositories {
mavenCentral()
}
version = '0.1.0'
allprojects {
apply plugin: 'java'
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
tasks.withType(JavaCompile) { options.encoding = 'UTF-8' }
apply plugin: 'org.jetbrains.intellij'
intellij {
version 'IC-2018.3.4'
pluginName 'pycharm-webinar-base'
//plugin dependencies, see https://github.com/JetBrains/gradle-intellij-plugin
//plugins 'IntelliLang'
}
publishPlugin {
username 'your-jetbrains-username'
//add your user's password on the command line using '-Dintellij.publish.password=...'
password System.properties['intellij.publish.password']
//use a custom channel if you'd offer nightly/unstable versions
//channels 'eap'
}
// code coverage using the Jacoco engine, see https://docs.gradle.org/current/userguide/jacoco_plugin.html
// the coverage reports will be available at build/reports/coverage/test/html/index.html
apply plugin: 'jacoco'
jacoco {
toolVersion = "0.8.2"
reportsDir = file("$buildDir/reports/coverage")
}
test {
finalizedBy jacocoTestReport
jacoco {
enabled true
append false
includes ["webinar.*"]
}
}
// test logging configuration, shows test progress and messages to standard error
// see https://docs.gradle.org/current/javadoc/org/gradle/api/tasks/testing/logging/TestLogEvent.html
test {
testLogging {
events = [
org.gradle.api.tasks.testing.logging.TestLogEvent.FAILED,
org.gradle.api.tasks.testing.logging.TestLogEvent.PASSED,
org.gradle.api.tasks.testing.logging.TestLogEvent.SKIPPED,
org.gradle.api.tasks.testing.logging.TestLogEvent.STANDARD_ERROR
]
}
}
}