-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathbuild.gradle
More file actions
68 lines (58 loc) · 1.74 KB
/
Copy pathbuild.gradle
File metadata and controls
68 lines (58 loc) · 1.74 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
plugins {
id 'java'
id 'maven-publish'
}
group = 'org.freeswitch.esl.client'
version = '0.10.0-SNAPSHOT'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.guava:guava:33.5.0-jre'
implementation 'org.slf4j:slf4j-api:2.0.17'
runtimeOnly 'ch.qos.logback:logback-classic:1.5.19'
testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
tasks.named('test') {
useJUnitPlatform()
}
task runReconnectionTest(type: JavaExec) {
description = 'Run manual reconnection test'
group = 'verification'
classpath = sourceSets.test.runtimeClasspath
mainClass = 'ReconnectionManualTest'
standardInput = System.in
}
task runOutboundTest(type: JavaExec) {
description = 'Run manual outbound test'
group = 'verification'
classpath = sourceSets.test.runtimeClasspath
mainClass = 'OutboundManualTest'
standardInput = System.in
}
task runOutboundExecuteTest(type: JavaExec) {
description = 'Run outbound test with Execute API'
group = 'verification'
classpath = sourceSets.test.runtimeClasspath
mainClass = 'OutboundExecuteTest'
standardInput = System.in
}
task runExecutorCleanupTest(type: JavaExec) {
description = 'Run executor cleanup manual test'
group = 'verification'
classpath = sourceSets.test.runtimeClasspath
mainClass = 'ExecutorCleanupManualTest'
standardInput = System.in
}
task createTestCall(type: JavaExec) {
description = 'Create a test call to trigger channel events'
group = 'verification'
classpath = sourceSets.test.runtimeClasspath
mainClass = 'CreateTestCallManual'
}