Skip to content

Commit 6bf92b9

Browse files
committed
Gradle build changes
1 parent 8f3ffc9 commit 6bf92b9

6 files changed

Lines changed: 54 additions & 328 deletions

File tree

build.gradle

Lines changed: 33 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -9,45 +9,43 @@ plugins {
99

1010
repositories {
1111
mavenLocal()
12-
maven {
13-
url = uri('https://repository.jboss.org/nexus/content/groups/public-jboss/')
14-
}
15-
16-
maven {
17-
url = uri('https://repo1.maven.org/maven2/')
18-
}
19-
20-
maven {
21-
url = uri('https://repository.jboss.org/nexus/content/groups/public')
22-
}
23-
24-
maven {
25-
url = uri('https://oss.sonatype.org/content/repositories/snapshots')
26-
}
27-
28-
maven {
29-
url = uri('https://repo.maven.apache.org/maven2/')
30-
}
12+
mavenCentral()
13+
google()
14+
// maven {
15+
// url = uri('https://repository.jboss.org/nexus/content/groups/public-jboss/')
16+
// }
17+
//
18+
// maven {
19+
// url = uri('https://repo1.maven.org/maven2/')
20+
// }
21+
//
22+
// maven {
23+
// url = uri('https://repository.jboss.org/nexus/content/groups/public')
24+
// }
25+
//
26+
// maven {
27+
// url = uri('https://oss.sonatype.org/content/repositories/snapshots')
28+
// }
29+
//
30+
// maven {
31+
// url = uri('https://repo.maven.apache.org/maven2/')
32+
// }
3133
}
3234

3335
dependencies {
34-
implementation 'com.browserstack:browserstack-local-java:1.0.6'
35-
implementation 'org.apache.commons:commons-lang3:3.11'
36-
implementation 'io.qameta.allure:allure-testng:2.12.0'
37-
implementation 'io.qameta.allure:allure-maven:2.10.0'
38-
implementation 'org.slf4j:slf4j-api:1.7.30'
39-
implementation 'ch.qos.logback:logback-classic:1.2.3'
40-
implementation 'org.testng:testng:6.14.3'
41-
implementation 'org.apache.poi:poi-ooxml:3.9'
42-
implementation 'org.apache.poi:poi:4.1.2'
43-
implementation 'io.cucumber:cucumber-java:6.8.2'
44-
implementation 'io.cucumber:cucumber-core:6.8.2'
45-
implementation 'io.cucumber:cucumber-jvm:6.8.2'
46-
implementation 'io.cucumber:cucumber-testng:6.8.2'
47-
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.12.2'
48-
implementation 'com.fasterxml.jackson.core:jackson-databind:2.12.2'
36+
implementation 'io.cucumber:cucumber-jvm:6.10.4'
4937
testImplementation 'org.seleniumhq.selenium:selenium-java:3.141.59'
50-
testImplementation 'io.cucumber:cucumber-picocontainer:6.8.2'
38+
testImplementation 'com.browserstack:browserstack-local-java:1.0.6'
39+
testImplementation 'org.apache.commons:commons-lang3:3.11'
40+
testImplementation 'org.slf4j:slf4j-api:1.7.30'
41+
testImplementation 'ch.qos.logback:logback-classic:1.2.3'
42+
testImplementation 'org.testng:testng:7.4.0'
43+
testImplementation 'io.cucumber:cucumber-java:6.10.4'
44+
testImplementation 'io.cucumber:cucumber-core:6.10.4'
45+
testImplementation 'io.cucumber:cucumber-picocontainer:6.10.4'
46+
testImplementation 'io.cucumber:cucumber-testng:6.10.4'
47+
testImplementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.12.2'
48+
testImplementation 'com.fasterxml.jackson.core:jackson-databind:2.12.2'
5149
}
5250

5351
group = 'com.browserstack'

pom.xml

Lines changed: 19 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,9 @@
2020
<slf4j.version>1.7.30</slf4j.version>
2121
<cucumber.version>6.9.1</cucumber.version>
2222
<logback.version>1.2.3</logback.version>
23-
<testng.version>6.14.3</testng.version>
24-
<poi-ooxml.version>3.9</poi-ooxml.version>
25-
<poi.version>4.1.2</poi.version>
26-
<cucumber-java.version>6.8.2</cucumber-java.version>
27-
<cucumber-core.version>6.8.2</cucumber-core.version>
28-
<cucumber-picocontainer.version>6.8.2</cucumber-picocontainer.version>
29-
<cucumber-jvm.version>6.8.2</cucumber-jvm.version>
30-
<cucumber-testng.version>6.8.2</cucumber-testng.version>
23+
<testng.version>7.4.0</testng.version>
24+
<cucumber.version>6.10.4</cucumber.version>
3125
<jackson.version>2.12.2</jackson.version>
32-
<test-name>End to End Scenario</test-name>
33-
<application-url>http://bstackdemo.com/</application-url>
34-
<application-localhost-url>http://localhost:3000/</application-localhost-url>
35-
<parallel-count>5</parallel-count>
3626
</properties>
3727

3828
<dependencies>
@@ -47,92 +37,82 @@
4737
<groupId>com.browserstack</groupId>
4838
<artifactId>browserstack-local-java</artifactId>
4939
<version>${browserstack-local-java.version}</version>
40+
<scope>test</scope>
5041
</dependency>
5142

5243
<dependency>
5344
<groupId>org.apache.commons</groupId>
5445
<artifactId>commons-lang3</artifactId>
5546
<version>${comslang.version}</version>
56-
</dependency>
57-
<dependency>
58-
<groupId>io.qameta.allure</groupId>
59-
<artifactId>allure-testng</artifactId>
60-
<version>${alluretestng.version}</version>
61-
</dependency>
62-
63-
<dependency>
64-
<groupId>io.qameta.allure</groupId>
65-
<artifactId>allure-maven</artifactId>
66-
<version>${allure.version}</version>
47+
<scope>test</scope>
6748
</dependency>
6849

6950
<dependency>
7051
<groupId>org.slf4j</groupId>
7152
<artifactId>slf4j-api</artifactId>
7253
<version>${slf4j.version}</version>
54+
<scope>test</scope>
7355
</dependency>
7456

7557
<dependency>
7658
<groupId>ch.qos.logback</groupId>
7759
<artifactId>logback-classic</artifactId>
7860
<version>${logback.version}</version>
61+
<scope>test</scope>
7962
</dependency>
8063

8164
<dependency>
8265
<groupId>org.testng</groupId>
8366
<artifactId>testng</artifactId>
8467
<version>${testng.version}</version>
68+
<scope>test</scope>
8569
</dependency>
8670

87-
<dependency>
88-
<groupId>org.apache.poi</groupId>
89-
<artifactId>poi-ooxml</artifactId>
90-
<version>${poi-ooxml.version}</version>
91-
</dependency>
92-
93-
<dependency>
94-
<groupId>org.apache.poi</groupId>
95-
<artifactId>poi</artifactId>
96-
<version>${poi.version}</version>
97-
</dependency>
9871
<dependency>
9972
<groupId>io.cucumber</groupId>
10073
<artifactId>cucumber-java</artifactId>
101-
<version>${cucumber-java.version}</version>
74+
<version>${cucumber.version}</version>
75+
<scope>test</scope>
10276
</dependency>
10377
<dependency>
10478
<groupId>io.cucumber</groupId>
10579
<artifactId>cucumber-core</artifactId>
106-
<version>${cucumber-core.version}</version>
80+
<version>${cucumber.version}</version>
81+
<scope>test</scope>
10782
</dependency>
83+
10884
<dependency>
10985
<groupId>io.cucumber</groupId>
11086
<artifactId>cucumber-picocontainer</artifactId>
111-
<version>${cucumber-picocontainer.version}</version>
87+
<version>${cucumber.version}</version>
11288
<scope>test</scope>
11389
</dependency>
90+
11491
<dependency>
11592
<groupId>io.cucumber</groupId>
11693
<artifactId>cucumber-jvm</artifactId>
117-
<version>${cucumber-jvm.version}</version>
94+
<version>${cucumber.version}</version>
11895
<type>pom</type>
11996
</dependency>
12097
<dependency>
12198
<groupId>io.cucumber</groupId>
12299
<artifactId>cucumber-testng</artifactId>
123-
<version>${cucumber-testng.version}</version>
100+
<version>${cucumber.version}</version>
101+
<scope>test</scope>
124102
</dependency>
125103

126104
<dependency>
127105
<groupId>com.fasterxml.jackson.dataformat</groupId>
128106
<artifactId>jackson-dataformat-yaml</artifactId>
129107
<version>${jackson.version}</version>
108+
<scope>test</scope>
130109
</dependency>
131110

132111
<dependency>
133112
<groupId>com.fasterxml.jackson.core</groupId>
134113
<artifactId>jackson-databind</artifactId>
135114
<version>${jackson.version}</version>
115+
<scope>test</scope>
136116
</dependency>
137117

138118
</dependencies>

src/test/java/browserstack/utils/AllureReportConfigurationSetup.java

Lines changed: 0 additions & 148 deletions
This file was deleted.

0 commit comments

Comments
 (0)