-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
51 lines (40 loc) · 906 Bytes
/
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
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'java'
}
repositories {
maven {
url = uri('https://repo.maven.apache.org/maven2/')
}
}
configurations {
provided
}
dependencies {
provided 'com.xceptance:xlt:8.2.0'
}
group = 'com.xceptance'
version = '0.1'
description = 'Posters Simple Load Test Suite'
sourceSets {
main {
// Add dependencies of type 'provided' to compile and runtime classpaths
compileClasspath += configurations.provided
runtimeClasspath += configurations.provided
}
}
test {
useJUnit()
maxHeapSize = '1G'
}
tasks.register('copyDeps', Copy) {
into layout.buildDirectory.dir('dependency')
from configurations.testRuntimeClasspath, configurations.runtimeClasspath
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
options.release = 11
dependsOn('copyDeps')
}