From d9906c717c444dc500d73cb74c8deeec864c022e Mon Sep 17 00:00:00 2001 From: Victor Melnik Date: Tue, 10 Jan 2023 16:32:28 +0100 Subject: [PATCH] Update README.md --- README.md | 3 ++- build.gradle | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3f7ab9e..2de3e9e 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Telegram Bot for re-encoding media ## Requirements - Telegram bot username and token, [@BotFather](https://t.me/BotFather) - - JRE 16+ or JDK 16+ (for build) + - JRE 17+ or JDK 17+ (for build) - `ffmpeg` must be installed and available in `PATH`. - `yt-dlp` for `/dl` command. @@ -25,6 +25,7 @@ Telegram Bot for re-encoding media # Config cp ffmpegbot.yaml.template ffmpegbot.yaml vim ffmpegbot.yaml +mkdir {input,output} # Run java -jar ./build/libs/ffmpegbot-1.0-SNAPSHOT-all.jar ``` diff --git a/build.gradle b/build.gradle index a7852d0..53c4fd9 100644 --- a/build.gradle +++ b/build.gradle @@ -8,6 +8,8 @@ mainClassName = 'com.annimon.ffmpegbot.Main' group 'com.annimon' version '1.0-SNAPSHOT' +sourceCompatibility = 17 +targetCompatibility = 17 compileJava.options.encoding = 'UTF-8' tasks.withType(JavaCompile) {