From baf8ed3a77d365c33301e952a58dccbc1bf65dbc Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sat, 6 Feb 2021 00:52:39 +0600 Subject: [PATCH] now JVM part will be compiled with IR --- tgbotapi.core/build.gradle | 4 +++- tgbotapi.extensions.api/build.gradle | 4 +++- tgbotapi.extensions.behaviour_builder/build.gradle | 4 +++- tgbotapi.extensions.utils/build.gradle | 4 +++- tgbotapi/build.gradle | 4 +++- 5 files changed, 15 insertions(+), 5 deletions(-) diff --git a/tgbotapi.core/build.gradle b/tgbotapi.core/build.gradle index 1894298a2a..9646921743 100644 --- a/tgbotapi.core/build.gradle +++ b/tgbotapi.core/build.gradle @@ -29,7 +29,9 @@ repositories { } kotlin { - jvm() + jvm { + compilations.main.kotlinOptions.useIR = true + } js(BOTH) { browser() nodejs() diff --git a/tgbotapi.extensions.api/build.gradle b/tgbotapi.extensions.api/build.gradle index 8d969fa877..1d557205fe 100644 --- a/tgbotapi.extensions.api/build.gradle +++ b/tgbotapi.extensions.api/build.gradle @@ -29,7 +29,9 @@ repositories { } kotlin { - jvm() + jvm { + compilations.main.kotlinOptions.useIR = true + } js(BOTH) { browser() nodejs() diff --git a/tgbotapi.extensions.behaviour_builder/build.gradle b/tgbotapi.extensions.behaviour_builder/build.gradle index d84108226f..ffa6a93381 100644 --- a/tgbotapi.extensions.behaviour_builder/build.gradle +++ b/tgbotapi.extensions.behaviour_builder/build.gradle @@ -29,7 +29,9 @@ repositories { } kotlin { - jvm() + jvm { + compilations.main.kotlinOptions.useIR = true + } js(BOTH) { browser() nodejs() diff --git a/tgbotapi.extensions.utils/build.gradle b/tgbotapi.extensions.utils/build.gradle index 8d969fa877..1d557205fe 100644 --- a/tgbotapi.extensions.utils/build.gradle +++ b/tgbotapi.extensions.utils/build.gradle @@ -29,7 +29,9 @@ repositories { } kotlin { - jvm() + jvm { + compilations.main.kotlinOptions.useIR = true + } js(BOTH) { browser() nodejs() diff --git a/tgbotapi/build.gradle b/tgbotapi/build.gradle index 29cf75b274..895e728acf 100644 --- a/tgbotapi/build.gradle +++ b/tgbotapi/build.gradle @@ -29,7 +29,9 @@ repositories { } kotlin { - jvm() + jvm { + compilations.main.kotlinOptions.useIR = true + } js(BOTH) { browser() nodejs()