File tree Expand file tree Collapse file tree 3 files changed +17
-17
lines changed
runners/lambda/src/main/kotlin/by/jprof/telegram/bot/runners/lambda/config Expand file tree Collapse file tree 3 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ import com.github.jengelman.gradle.plugins.shadow.transformers.Log4j2PluginsCach
33import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
44
55plugins {
6- kotlin(" jvm" ).version(" 1.4.32 " ).apply (false )
7- kotlin(" plugin.serialization" ).version(" 1.4.32 " ).apply (false )
8- id(" com.github.johnrengelman.shadow" ).version(" 6 .1.0" ).apply (false )
6+ kotlin(" jvm" ).version(" 1.5.31 " ).apply (false )
7+ kotlin(" plugin.serialization" ).version(" 1.5.31 " ).apply (false )
8+ id(" com.github.johnrengelman.shadow" ).version(" 7 .1.0" ).apply (false )
99}
1010
1111subprojects {
Original file line number Diff line number Diff line change 11[versions ]
2- coroutines = " 1.4.3 "
2+ coroutines = " 1.5.2 "
33
4- aws-lambda-java-events = " 3.8 .0"
4+ aws-lambda-java-events = " 3.10 .0"
55aws-lambda-java-core = " 1.2.1"
66aws-lambda-java-log4j2 = " 1.2.0"
7- awssdk = " 2.16.43 "
7+ awssdk = " 2.17.56 "
88
9- koin = " 3.0.1 "
9+ koin = " 3.1.2 "
1010
11- kotlinx-serialization = " 1.2.1 "
12- jackson = " 2.12.3 "
11+ kotlinx-serialization = " 1.3.0 "
12+ jackson = " 2.13.0 "
1313
14- tgbotapi = " 0.35.0 "
14+ tgbotapi = " 0.35.9 "
1515
16- jsoup = " 1.13.1 "
16+ jsoup = " 1.14.3 "
1717
18- skija = " 0.91.4 "
18+ skija = " 0.93.1 "
1919
20- google-api-services-youtube = " v3-rev20210410 -1.31.0 "
20+ google-api-services-youtube = " v3-rev20210915 -1.32.1 "
2121
2222log4j = " 2.14.1"
2323
24- junit5 = " 5.7 .1"
24+ junit5 = " 5.8 .1"
2525aws-junit5 = " 6.0.1"
26- mockk = " 1.11 .0"
26+ mockk = " 1.12 .0"
2727
2828[libraries ]
2929kotlinx-coroutines-jdk8 = { group = " org.jetbrains.kotlinx" , name = " kotlinx-coroutines-jdk8" , version.ref = " coroutines" }
Original file line number Diff line number Diff line change 11package by.jprof.telegram.bot.runners.lambda.config
22
33import com.google.api.client.googleapis.javanet.GoogleNetHttpTransport
4- import com.google.api.client.json.jackson2.JacksonFactory
4+ import com.google.api.client.json.gson.GsonFactory
55import com.google.api.services.youtube.YouTube
66import com.google.api.services.youtube.YouTubeRequestInitializer
77import org.koin.core.qualifier.named
@@ -12,7 +12,7 @@ val youtubeModule = module {
1212 YouTube
1313 .Builder (
1414 GoogleNetHttpTransport .newTrustedTransport(),
15- JacksonFactory .getDefaultInstance(),
15+ GsonFactory .getDefaultInstance(),
1616 null
1717 )
1818 .setApplicationName(" jprof-by-bot" )
You can’t perform that action at this time.
0 commit comments