-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
65 lines (53 loc) · 1.59 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
plugins {
id 'java'
id 'application'
}
group 'org.nexpay'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
// https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-firefox-driver
implementation 'org.seleniumhq.selenium:selenium-firefox-driver:4.1.1'
// https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java
apiElements 'org.seleniumhq.selenium:selenium-java:4.1.1'
testImplementation('junit:junit:4.13.2')
// https://mvnrepository.com/artifact/com.twilio.sdk/twilio
implementation 'com.twilio.sdk:twilio:8.23.0'
// https://mvnrepository.com/artifact/com.sparkjava/spark-core
implementation 'com.sparkjava:spark-core:2.9.3'
// https://mvnrepository.com/artifact/org.slf4j/slf4j-simple
implementation 'org.slf4j:slf4j-simple:1.7.32'
// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
implementation 'org.apache.commons:commons-lang3:3.12.0'
}
test {
useJUnitPlatform()
}
jar {
manifest {
attributes(
'Main-Class': "Main"
)
}
from {
configurations
.runtimeClasspath
.collect { it.isDirectory() ? it : zipTree(it) }
}
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}
//jar {
// manifest {
// attributes('Main-Class' : "Main")
// }
// from {
// configurations["compileClasspath"].forEach {
// file:
// File ->
// from(zipTree(file.absoluteFile))
// }
// }
// duplicatesStrategy = DuplicatesStrategy.INCLUDE
//}