File tree 6 files changed +16
-175
lines changed
src/main/java/io/github/lambdatest
6 files changed +16
-175
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ plugins {
6
6
}
7
7
8
8
group = ' io.github.lambdatest'
9
- version = ' 1.0.11 '
9
+ version = ' 1.0.12-beta.1 '
10
10
description = ' lambdatest-java-sdk'
11
11
12
12
repositories {
@@ -21,6 +21,10 @@ dependencies {
21
21
implementation ' com.google.code.gson:gson:2.10.1'
22
22
implementation ' io.netty:netty-transport-native-epoll:4.1.104.Final'
23
23
implementation ' io.netty:netty-transport-native-kqueue:4.1.104.Final'
24
+
25
+ // New dependencies from POM file
26
+ implementation ' org.apache.httpcomponents:httpmime:4.5.13'
27
+ implementation ' com.fasterxml.jackson.core:jackson-databind:2.16.1'
24
28
}
25
29
26
30
shadowJar {
@@ -34,6 +38,8 @@ shadowJar {
34
38
}
35
39
36
40
java {
41
+ sourceCompatibility = JavaVersion . VERSION_1_8
42
+ targetCompatibility = JavaVersion . VERSION_1_8
37
43
withSourcesJar()
38
44
withJavadocJar()
39
45
}
@@ -77,7 +83,7 @@ afterEvaluate {
77
83
mavenJava(MavenPublication ) {
78
84
groupId = ' io.github.lambdatest'
79
85
artifactId = ' lambdatest-java-sdk'
80
- version = ' 1.0.11 '
86
+ version = ' 1.0.12-beta.1 '
81
87
82
88
pom {
83
89
name. set(' LambdaTest Java SDK' )
Original file line number Diff line number Diff line change 6
6
<modelVersion >4.0.0</modelVersion >
7
7
<groupId >io.github.lambdatest</groupId >
8
8
<artifactId >lambdatest-java-sdk</artifactId >
9
- <version >1.0.0 </version >
9
+ <version >1.0.12-beta.1 </version >
10
10
<name >lambdatest-java-sdk</name >
11
11
<description >LambdaTest SDK in Java</description >
12
12
<url >https://www.lambdatest.com</url >
53
53
<artifactId >json</artifactId >
54
54
<version >20231013</version >
55
55
</dependency >
56
- <dependency >
57
- <artifactId >java-client</artifactId >
58
- <groupId >io.appium</groupId >
59
- <version >9.0.0</version >
60
- </dependency >
61
56
<dependency >
62
57
<groupId >org.seleniumhq.selenium</groupId >
63
58
<artifactId >selenium-java</artifactId >
64
59
<version >4.1.2</version >
65
60
</dependency >
66
- <dependency >
67
- <groupId >org.testng</groupId >
68
- <artifactId >testng</artifactId >
69
- <version >7.10.2</version >
70
- </dependency >
71
61
<dependency >
72
62
<groupId >com.google.code.gson</groupId >
73
63
<artifactId >gson</artifactId >
148
138
<plugin >
149
139
<groupId >org.apache.maven.plugins</groupId >
150
140
<artifactId >maven-compiler-plugin</artifactId >
151
- <version >3.8.1 </version >
141
+ <version >2.3.2 </version >
152
142
<configuration >
153
143
<source >1.8</source >
154
144
<target >1.8</target >
Original file line number Diff line number Diff line change 2
2
3
3
4
4
import com .google .gson .Gson ;
5
- import io .appium .java_client .AppiumDriver ;
6
5
import io .github .lambdatest .constants .Constants ;
7
6
import io .github .lambdatest .models .*;
8
7
import io .github .lambdatest .utils .GitUtils ;
17
16
import java .util .Map ;
18
17
import java .util .Objects ;
19
18
import java .util .logging .Logger ;
19
+ import io .github .lambdatest .utils .LoggerUtil ;
20
20
21
21
public class SmartUIAppSnapshot {
22
22
private final Logger log ;
@@ -27,7 +27,7 @@ public class SmartUIAppSnapshot {
27
27
private BuildData buildData ;
28
28
29
29
public SmartUIAppSnapshot () {
30
- this .log = Logger . getLogger ( "lt-smart-ui- java-sdk" );
30
+ this .log = LoggerUtil . createLogger ( "lambdatest- java-app -sdk" );
31
31
this .util = new SmartUIUtil ();
32
32
this .gson = new Gson ();
33
33
}
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
3
3
import com .fasterxml .jackson .databind .ObjectMapper ;
4
4
import io .github .lambdatest .models .GitInfo ;
5
- import org .slf4j .LoggerFactory ;
6
5
7
6
import java .io .BufferedReader ;
8
7
import java .io .File ;
11
10
import java .util .Arrays ;
12
11
import java .util .List ;
13
12
import java .util .Map ;
13
+ import io .github .lambdatest .utils .LoggerUtil ;
14
+ import java .util .logging .Logger ;
14
15
15
16
import java .util .stream .Collectors ;
16
17
17
18
public class GitUtils {
18
- private static final org .slf4j .Logger log = LoggerFactory .getLogger (GitUtils .class );
19
+
20
+ private static Logger log = LoggerUtil .createLogger ("lambdatest-java-sdk" );
19
21
20
22
public static GitInfo getGitInfo (Map <String , String > envVars ) {
21
23
You can’t perform that action at this time.
0 commit comments