pom optlimalization

This commit is contained in:
JW
2023-08-17 22:11:17 +02:00
parent 06aa6d29b1
commit 7d358f2715
3 changed files with 17 additions and 4 deletions

View File

@@ -22,11 +22,11 @@
<artifactId>gson</artifactId>
<version>2.10.1</version>
</dependency>
<dependency>
<groupId>io.github.jwdeveloper.tiktok</groupId>
<artifactId>API</artifactId>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>
</dependencies>

View File

@@ -17,6 +17,18 @@
<version>1.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.github.jwdeveloper.tiktok</groupId>
<artifactId>API</artifactId>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.github.jwdeveloper.tiktok</groupId>
<artifactId>Client</artifactId>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>
</dependencies>
<properties>

View File

@@ -6,7 +6,7 @@ import java.io.IOException;
public class Main {
public static String TEST_USER_SUBJECT = "tv_asahi_news";
public static String TEST_USER_SUBJECT = "stiflerhub";
public static void main(String[] args) throws IOException {
var client = TikTokLive.newClient(TEST_USER_SUBJECT)
@@ -23,7 +23,7 @@ public class Main {
.onEmote(Main::onEmote)
.onError(tikTokErrorEvent ->
{
tikTokErrorEvent.getException().printStackTrace();
// tikTokErrorEvent.getException().printStackTrace();
})
.buildAndRun();
@@ -49,7 +49,8 @@ public class Main {
}
private static void onComment(TikTokCommentEvent e) {
print(e.getUser().getUniqueId(), e.getText());
print("DUPA: "+e.getText());
// print(e.getUser().getUniqueId(), e.getText());
}
private static void onFollow(TikTokFollowEvent e) {