From d58811e922aa204292b74b8be98b625886714d11 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Mon, 15 May 2023 00:38:52 +0200 Subject: [PATCH] Update README --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9fa0ed3..657017c 100644 --- a/README.md +++ b/README.md @@ -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