Compare commits

...

17 Commits

Author SHA1 Message Date
JW
cbabad0888 Update pom.xml 2023-08-22 17:32:34 +02:00
JW
09c531e9f4 Update maven-publish.yml 2023-08-22 17:32:17 +02:00
GitHub Action
997c8d399e Update version in pom.xml 2023-08-22 15:30:36 +00:00
JW
668f28e357 Update maven-publish.yml 2023-08-22 17:29:30 +02:00
JW
b332c2f5d8 Update pom.xml 2023-08-22 17:27:57 +02:00
GitHub Action
5be113cbc8 Update version in pom.xml 2023-08-22 15:26:05 +00:00
JW
e0287aaa96 Update pom.xml 2023-08-22 17:24:52 +02:00
JW
8e2759cb1e Update maven-publish.yml 2023-08-22 17:23:32 +02:00
JW
fb9a48376b Update README.md 2023-08-22 14:24:20 +02:00
JW
3741351b7b Update README.md 2023-08-22 14:22:55 +02:00
GitHub Action
7eed221bab Update version in pom.xml 2023-08-22 11:55:25 +00:00
JW
e6089a99a1 Update pom 2023-08-22 13:54:01 +02:00
GitHub Action
7e77b06b93 Update version in pom.xml 2023-08-22 11:47:12 +00:00
JW
8594c0c3a2 Update pom 2023-08-22 13:45:55 +02:00
JW
48e03d960e Merge remote-tracking branch 'origin/master' 2023-08-22 13:44:01 +02:00
JW
fe9deac73a Update pom 2023-08-22 13:43:54 +02:00
GitHub Action
f7c67845eb Update version in pom.xml 2023-08-22 11:36:58 +00:00
5 changed files with 66 additions and 9 deletions

View File

@@ -37,6 +37,8 @@ jobs:
- name: 2.7 Update version in pom.xml (Release only)
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
run: mvn package -P publish --file pom.xml

View File

@@ -10,12 +10,6 @@
<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>

View File

@@ -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
View 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
View File

@@ -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>
@@ -92,4 +101,4 @@
</dependencies>
</project>
</project>