mirror of
https://github.com/jwdeveloper/TikTokLiveJava.git
synced 2026-02-28 01:09:40 -05:00
pom optlimalization
This commit is contained in:
@@ -22,11 +22,11 @@
|
|||||||
<artifactId>gson</artifactId>
|
<artifactId>gson</artifactId>
|
||||||
<version>2.10.1</version>
|
<version>2.10.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.github.jwdeveloper.tiktok</groupId>
|
<groupId>io.github.jwdeveloper.tiktok</groupId>
|
||||||
<artifactId>API</artifactId>
|
<artifactId>API</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.0</version>
|
||||||
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|||||||
@@ -17,6 +17,18 @@
|
|||||||
<version>1.0-SNAPSHOT</version>
|
<version>1.0-SNAPSHOT</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</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>
|
</dependencies>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import java.io.IOException;
|
|||||||
|
|
||||||
public class Main {
|
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 {
|
public static void main(String[] args) throws IOException {
|
||||||
var client = TikTokLive.newClient(TEST_USER_SUBJECT)
|
var client = TikTokLive.newClient(TEST_USER_SUBJECT)
|
||||||
@@ -23,7 +23,7 @@ public class Main {
|
|||||||
.onEmote(Main::onEmote)
|
.onEmote(Main::onEmote)
|
||||||
.onError(tikTokErrorEvent ->
|
.onError(tikTokErrorEvent ->
|
||||||
{
|
{
|
||||||
tikTokErrorEvent.getException().printStackTrace();
|
// tikTokErrorEvent.getException().printStackTrace();
|
||||||
})
|
})
|
||||||
.buildAndRun();
|
.buildAndRun();
|
||||||
|
|
||||||
@@ -49,7 +49,8 @@ public class Main {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static void onComment(TikTokCommentEvent e) {
|
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) {
|
private static void onFollow(TikTokFollowEvent e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user