-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
42 lines (29 loc) · 897 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
plugins {
id "groovy"
id "java"
id "idea"
}
version = '0.2'
repositories {
jcenter()
}
dependencies {
implementation group: 'org.seleniumhq.selenium', name: 'selenium-java', version: '4.0.0-alpha-7'
implementation 'net.dv8tion:JDA:4.2.0_227'
implementation 'commons-io:commons-io:2.6' //adding temporarily
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
}
task uberJar(type: Jar) {
archiveClassifier = 'uber'
from sourceSets.main.output
dependsOn configurations.runtimeClasspath
manifest{
attributes 'Main-Class' : 'package1.Runner',
'Implementation-Title' : 'Helium Restocks',
'Implementation-Version' : '0.2'
}
from {
configurations.runtimeClasspath.findAll { it.name.endsWith('jar') }.collect { zipTree(it) }
}
}