-
Notifications
You must be signed in to change notification settings - Fork 62
/
Copy pathbuild.gradle
84 lines (75 loc) · 2.67 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
plugins {
id "org.sonarqube" version "2.8"
id "java"
id "idea"
id "maven"
id 'com.github.johnrengelman.shadow' version '6.1.0'
}
group = 'com.github.znsio'
version '0.0.54'
project.ext.logDir = "${rootDir}/target"
repositories {
mavenLocal()
flatDir {
dirs 'libs'
}
maven { url "http://repo.bodar.com" }
maven { url "https://dl.bintray.com/epam/reportportal" }
maven { url 'https://jitpack.io' }
jcenter()
}
configurations {
cucumberRuntime {
extendsFrom testImplementation
}
}
compileJava { options.encoding = "UTF-8" }
dependencies {
implementation fileTree(dir: "$project.projectDir/libs", include: ['*.jar'])
implementation files("$buildDir/classes/main")
implementation files("$buildDir/classes/test")
implementation "com.googlecode.json-simple:json-simple:$project.googleCodeJsonSimpleVersion"
implementation "org.jsoup:jsoup:$project.jsoupVersion"
implementation "com.mashape.unirest:unirest-java:$project.unirestVersion"
implementation "org.assertj:assertj-core:$project.assertJVersion"
implementation "com.github.znsio:AppiumTestDistribution:$project.atdVersion"
implementation "org.apache.commons:commons-lang3:$project.commonsLang3Version"
implementation "io.github.bonigarcia:webdrivermanager:$project.webDriverManagerVersion"
implementation "com.github.vidstige:jadb:$project.jadbVersion"
implementation "org.junit.jupiter:junit-jupiter:$project.junitVersion"
implementation 'com.epam.reportportal:agent-java-cucumber6:5.0.1'
implementation('com.epam.reportportal:agent-java-testng:5.0.7') {
exclude group: 'com.fasterxml.jackson.core'
}
implementation "com.applitools:eyes-connectivity-java3-jersey1x:$project.applitoolsVersion"
implementation("com.applitools:eyes-selenium-java3:$project.applitoolsVersion") {
exclude group: 'java-client'
exclude group: 'selenium-java'
exclude group: 'eyes-connectivity-java3-jersey2x'
}
implementation("com.applitools:eyes-appium-java3:$project.applitoolsVersion") {
exclude group: 'java-client'
exclude group: 'selenium-java'
exclude group: 'eyes-connectivity-java3-jersey2x'
}
}
shadowJar {
archiveBaseName.set("$project.name")
archiveClassifier.set('')
archiveVersion.set("$project.version")
zip64 true
manifest {
attributes "Main-Class": "com.znsio.e2e.Runner"
}
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives sourcesJar
archives shadowJar
}
wrapper {
gradleVersion = project.gradleVersion // version from gradle.properties
}