-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathbuild.gradle
More file actions
77 lines (60 loc) · 1.39 KB
/
Copy pathbuild.gradle
File metadata and controls
77 lines (60 loc) · 1.39 KB
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
70
71
72
73
74
75
76
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'java'
id 'maven-publish'
}
configurations {
provided
}
repositories {
mavenLocal()
maven {
url = uri('https://lab.xceptance.de/nexus/content/repositories/releases/')
}
maven {
url = uri('https://repo.maven.apache.org/maven2/')
}
}
dependencies {
testImplementation 'com.xceptance:xlt-nocoding:3.1.0'
provided 'com.xceptance:xlt:6.2.0'
}
sourceSets {
test {
java {
srcDirs = ['src']
}
resources {
srcDirs = ['src']
}
output.resourcesDir = sourceSets.test.java.destinationDirectory
// Add dependencies of type 'provided' to compile and runtime classpaths
compileClasspath += configurations.provided
runtimeClasspath += configurations.provided
}
}
group = 'com.xceptance'
version = '3.1.0'
description = 'testsuite-nocoding'
java.sourceCompatibility = JavaVersion.VERSION_11
publishing {
publications {
maven(MavenPublication) {
from(components.java)
}
}
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
dependsOn('copyDeps')
}
test {
useJUnit()
maxHeapSize = '1G'
}
tasks.register('copyDeps', Copy) {
into layout.buildDirectory.dir('dependency')
from configurations.testRuntimeClasspath, configurations.runtimeClasspath
}