-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle
78 lines (64 loc) · 2.78 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
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'java'
id 'maven-publish'
}
repositories {
mavenCentral()
}
dependencies {
implementation 'io.rest-assured:rest-assured:5.1.1'
implementation 'io.rest-assured:json-schema-validator:5.1.1'
implementation group: 'com.github.dzieciou.testing', name: 'curl-logger', version: '1.0.5'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.13.3'
implementation 'com.googlecode.json-simple:json-simple:1.1.1'
implementation 'com.aventstack:extentreports:5.0.9'
implementation 'javax.xml:jaxb-api:2.1'
implementation 'com.opencsv:opencsv:5.6'
implementation group: 'org.slf4j', name: 'slf4j-api', version: '1.7.+'
implementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.+'
implementation group: 'com.hubspot.maven.plugins', name: 'prettier-maven-plugin', version: '0.2'
implementation group: 'com.auth0', name: 'java-jwt', version: '3.10.3'
implementation group: 'com.google.auth', name: 'google-auth-library-oauth2-http', version: '0.18.0'
implementation group: 'com.google.oauth-client', name: 'google-oauth-client-jetty', version: '1.31.0'
implementation group: 'org.json', name: 'json', version: '20201115'
//implementation added for working with Google Sheets
implementation 'com.google.api-client:google-api-client:2.0.0'
implementation group: 'com.google.oauth-client', name: 'google-oauth-client-jetty', version: '1.30.6'
implementation group: 'com.google.apis', name: 'google-api-services-sheets', version: 'v4-rev516-1.23.0'
//dependency for working with Google Sheets Ends
// https://mvnrepository.com/artifact/com.sun.mail/imap
implementation group: 'com.sun.mail', name: 'imap', version: '1.6.2'
}
dependencies {
implementation group: 'org.assertj', name: 'assertj-core', version: '3.16.0'
implementation 'org.testng:testng:7.1.0'
}
group = 'com.wingify'
version = '1.0.0'
sourceCompatibility = '8'
publishing {
publications {
maven(MavenPublication) {
from(components.java)
}
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
test {
systemProperty "username", findProperty("username")
systemProperty "password", findProperty("password")
systemProperty "appUrl", findProperty("appUrl")
systemProperty "channel", findProperty("channel")
systemProperty "isCurlLoggingEnabled", findProperty("isCurlLoggingEnabled")
systemProperty "emailUsername", findProperty("emailUsername")
systemProperty "emailPassword", findProperty("emailPassword")
useTestNG() {
suites './src/test/TestSuites/' + findProperty("suite")
//includeGroups findProperty("groups")
}
}
}