mirror of
https://github.com/jwdeveloper/TikTokLiveJava.git
synced 2026-02-27 16:59:39 -05:00
Compare commits
27 Commits
0.0.1-Rele
...
0.0.8-Rele
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
32cb1e0d8f | ||
|
|
3210707bce | ||
|
|
e7f9d6e9d5 | ||
|
|
03001d607d | ||
|
|
cbabad0888 | ||
|
|
09c531e9f4 | ||
|
|
997c8d399e | ||
|
|
668f28e357 | ||
|
|
b332c2f5d8 | ||
|
|
5be113cbc8 | ||
|
|
e0287aaa96 | ||
|
|
8e2759cb1e | ||
|
|
fb9a48376b | ||
|
|
3741351b7b | ||
|
|
7eed221bab | ||
|
|
e6089a99a1 | ||
|
|
7e77b06b93 | ||
|
|
8594c0c3a2 | ||
|
|
48e03d960e | ||
|
|
fe9deac73a | ||
|
|
f7c67845eb | ||
|
|
55a04b2439 | ||
|
|
9fdab77e5b | ||
|
|
2d6333a817 | ||
|
|
dd0dcb43d2 | ||
|
|
77ac427b84 | ||
|
|
d2999147a4 |
5
.github/workflows/maven-publish.yml
vendored
5
.github/workflows/maven-publish.yml
vendored
@@ -32,7 +32,6 @@ jobs:
|
||||
change_path: "."
|
||||
short_tags: false
|
||||
bump_each_commit: false
|
||||
|
||||
|
||||
|
||||
- name: 2.7 Update version in pom.xml (Release only)
|
||||
@@ -74,6 +73,10 @@ jobs:
|
||||
git config --local user.email "action@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
git add pom.xml
|
||||
git add API/pom.xml
|
||||
git add Client/pom.xml
|
||||
git add TestApplication/pom.xml
|
||||
git add Tools/pom.xml
|
||||
git commit -m "Update version in pom.xml"
|
||||
- name: Push changes
|
||||
uses: ad-m/github-push-action@master
|
||||
|
||||
14
API/pom.xml
14
API/pom.xml
@@ -10,14 +10,16 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>API</artifactId>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>16</maven.compiler.source>
|
||||
<maven.compiler.target>16</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.google.protobuf</groupId>
|
||||
<artifactId>protobuf-java</artifactId>
|
||||
<version>3.24.1</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>kr.motd.maven</groupId>
|
||||
|
||||
@@ -13,8 +13,6 @@
|
||||
|
||||
|
||||
<dependencies>
|
||||
|
||||
|
||||
<dependency>
|
||||
<groupId>com.google.code.gson</groupId>
|
||||
<artifactId>gson</artifactId>
|
||||
@@ -26,6 +24,18 @@
|
||||
<version>${project.version}</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.protobuf</groupId>
|
||||
<artifactId>protobuf-java</artifactId>
|
||||
<version>3.24.1</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>16</maven.compiler.source>
|
||||
<maven.compiler.target>16</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
|
||||
</project>
|
||||
36
README.md
36
README.md
@@ -20,9 +20,41 @@ Do you prefer other programming languages?
|
||||
|
||||
## Getting started
|
||||
|
||||
1. Install the package via Maven
|
||||
1. Install the package via Maven (dependecies will be simplify in future)
|
||||
|
||||
```xml
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>jitpack.io</id>
|
||||
<url>https://jitpack.io</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
```
|
||||
npm i tiktok-live-connector
|
||||
|
||||
```xml
|
||||
<dependency>
|
||||
<groupId>com.google.protobuf</groupId>
|
||||
<artifactId>protobuf-java</artifactId>
|
||||
<version>3.24.1</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.google.code.gson</groupId>
|
||||
<artifactId>gson</artifactId>
|
||||
<version>2.10.1</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.github.jwdeveloper.TikTok-Live-Java</groupId>
|
||||
<artifactId>API</artifactId>
|
||||
<version>0.0.4-Release</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.github.jwdeveloper.TikTok-Live-Java</groupId>
|
||||
<artifactId>Client</artifactId>
|
||||
<version>0.0.4-Release</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
2. Create your first chat connection
|
||||
|
||||
20
ensure-java-16
Normal file
20
ensure-java-16
Normal file
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
|
||||
JV=`java -version 2>&1 >/dev/null | head -1`
|
||||
echo $JV | sed -E 's/^.*version "([^".]*)\.[^"]*".*$/\1/'
|
||||
|
||||
if [ "$JV" != 16 ]; then
|
||||
case "$1" in
|
||||
install)
|
||||
echo "Installing SDKMAN..."
|
||||
curl -s "https://get.sdkman.io" | bash
|
||||
source ~/.sdkman/bin/sdkman-init.sh
|
||||
sdk version
|
||||
sdk install java 16.0.2-open
|
||||
;;
|
||||
use)
|
||||
echo "must source ~/.sdkman/bin/sdkman-init.sh"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
10
jitpack.yml
10
jitpack.yml
@@ -1,2 +1,10 @@
|
||||
jdk:
|
||||
- openjdk16
|
||||
- openjdk16
|
||||
before_install:
|
||||
- echo "Before Install"
|
||||
- bash ensure-java-16 install
|
||||
install:
|
||||
- echo "Install"
|
||||
- if ! bash ensure-java-16 use; then source ~/.sdkman/bin/sdkman-init.sh; fi
|
||||
- java -version
|
||||
- mvn install
|
||||
17
pom.xml
17
pom.xml
@@ -23,6 +23,15 @@
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<configuration>
|
||||
<source>16</source>
|
||||
<target>16</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
@@ -77,12 +86,6 @@
|
||||
<version>1.18.22</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.protobuf</groupId>
|
||||
<artifactId>protobuf-java</artifactId>
|
||||
<version>3.8.0</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
@@ -98,4 +101,4 @@
|
||||
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
</project>
|
||||
|
||||
Reference in New Issue
Block a user