mirror of
https://github.com/jwdeveloper/TikTokLiveJava.git
synced 2026-02-27 16:59:39 -05:00
Compare commits
17 Commits
0.0.2-Rele
...
0.0.7-Rele
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cbabad0888 | ||
|
|
09c531e9f4 | ||
|
|
997c8d399e | ||
|
|
668f28e357 | ||
|
|
b332c2f5d8 | ||
|
|
5be113cbc8 | ||
|
|
e0287aaa96 | ||
|
|
8e2759cb1e | ||
|
|
fb9a48376b | ||
|
|
3741351b7b | ||
|
|
7eed221bab | ||
|
|
e6089a99a1 | ||
|
|
7e77b06b93 | ||
|
|
8594c0c3a2 | ||
|
|
48e03d960e | ||
|
|
fe9deac73a | ||
|
|
f7c67845eb |
2
.github/workflows/maven-publish.yml
vendored
2
.github/workflows/maven-publish.yml
vendored
@@ -37,6 +37,8 @@ jobs:
|
|||||||
|
|
||||||
- name: 2.7 Update version in pom.xml (Release only)
|
- name: 2.7 Update version in pom.xml (Release only)
|
||||||
run: mvn versions:set -DnewVersion=${{steps.version.outputs.version_tag}}
|
run: mvn versions:set -DnewVersion=${{steps.version.outputs.version_tag}}
|
||||||
|
- name: 2.8 Update modules parent version
|
||||||
|
run: mvn versions:update-child-modules
|
||||||
|
|
||||||
- name: 3 Build with Maven
|
- name: 3 Build with Maven
|
||||||
run: mvn package -P publish --file pom.xml
|
run: mvn package -P publish --file pom.xml
|
||||||
|
|||||||
@@ -10,12 +10,6 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<artifactId>API</artifactId>
|
<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>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.google.protobuf</groupId>
|
<groupId>com.google.protobuf</groupId>
|
||||||
|
|||||||
36
README.md
36
README.md
@@ -20,9 +20,41 @@ Do you prefer other programming languages?
|
|||||||
|
|
||||||
## Getting started
|
## 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
|
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
|
||||||
11
pom.xml
11
pom.xml
@@ -23,6 +23,15 @@
|
|||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<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>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
@@ -92,4 +101,4 @@
|
|||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|||||||
Reference in New Issue
Block a user