Update README

This commit is contained in:
Andrea Cavalli 2023-05-15 00:38:52 +02:00
parent 98273f1d47
commit d58811e922

View File

@ -123,8 +123,8 @@ dependencies {
implementation platform('it.tdlight:tdlight-java-bom:VERSION')
// do not specify the versions on the dependencies below!
implementation 'it.tdlight:tdlight-java:VERSION' // Java 8 is supported if you use the following dependency classifier: `jdk8`
implementation 'it.tdlight:tdlight-natives:VERSION:linux_amd64_ssl1'
implementation group: 'it.tdlight', name: 'tdlight-java' // Java 8 is supported if you use the following dependency classifier: `jdk8`
implementation group: 'it.tdlight', name: 'tdlight-natives', classifier: 'linux_amd64_ssl1'
// Include other native classifiers, for example linux_amd64_ssl3, macos_amd64, ... -->
}
```
@ -144,6 +144,8 @@ To use TDLight Java you need to include the native libraries, by specifying one
- `windows_amd64`
- `macos_amd64`
Advanced: If you want to use a different precompiled native, please set the java property `it.tdlight.native.workdir`. (Please note that you must build [this](https://github.com/tdlight-team/tdlight-java-natives), you can't put random precompiled tdlib binaries found on the internet)
## Usage
An example on how to use TDLight Java can be found