-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
47 lines (34 loc) · 1 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
/*
* This build file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java Library project to get you started.
* For more details take a look at the Java Libraries chapter in the Gradle
* user guide available at https://docs.gradle.org/3.4/userguide/java_library_plugin.html
*/
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'application'
// In this section you declare where to find the dependencies of your project
repositories {
jcenter()
mavenCentral()
maven {
url "http://download.eclipse.org/rt/eclipselink/maven.repo"
}
}
configurations {
// configuration that holds jars to include in the jar
extraLibs
}
dependencies {
compile 'org.seleniumhq.selenium:selenium-java:3.14.0'
extraLibs 'org.seleniumhq.selenium:selenium-java:3.14.0'
}
jar {
manifest {
attributes 'Main-Class': 'org.swellrt.test.PadWriterMain'
}
from {
configurations.extraLibs.collect { it.isDirectory() ? it : zipTree(it) }
}
}