-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
69 lines (57 loc) · 1.48 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
64
65
66
67
68
69
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath 'org.junit.platform:junit-platform-gradle-plugin:1.0.2'
classpath 'io.qameta.allure:allure-gradle:2.5'
}
}
plugins {
id 'java'
id 'eclipse' // optional (to generate Eclipse project files)
id 'idea' // optional (to generate IntelliJ IDEA project files)
}
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
version = '0.1'
apply plugin: 'io.qameta.allure'
allure {
version = '2.4.1'
autoconfigure = true
aspectjweaver = true
aspectjVersion = '1.8.10'
useJUnit5 {
version = '2.0-BETA21'
}
}
repositories {
mavenCentral()
jcenter()
}
dependencies {
compile group: 'io.qameta.allure', name: 'allure-gradle', version: '2.5'
testCompile('org.junit.jupiter:junit-jupiter-api:5.3.1')
testCompile('org.junit.jupiter:junit-jupiter-params:5.3.1')
testRuntime('org.junit.jupiter:junit-jupiter-engine:5.3.1')
testCompile ('io.rest-assured:rest-assured:3.1.1')
testCompile 'io.qameta.allure:allure-gradle:2.4'
}
test {
// https://docs.gradle.org/current/dsl/org.gradle.api.tasks.testing.Test.html
dependsOn(clean)
useJUnitPlatform{
includeTags 'localhost'
excludeTags 'slow'
}
testLogging {
events "passed", "skipped", "failed"
}
// set heap size for the test JVM(s)
minHeapSize = "128m"
maxHeapSize = "512m"
}
wrapper {
gradleVersion = '4.8'
}