1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-02-16 19:52:01 +00:00

56 lines
1.0 KiB
Groovy
Raw Normal View History

2020-04-08 11:05:48 +06:00
buildscript {
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
}
}
plugins {
2020-08-18 12:50:11 +06:00
id "org.jetbrains.kotlin.multiplatform"
id "org.jetbrains.kotlin.plugin.serialization"
2020-04-08 11:05:48 +06:00
}
project.version = "$library_version"
project.group = "$library_group"
apply from: "publish.gradle"
repositories {
mavenLocal()
mavenCentral()
}
kotlin {
2021-11-14 19:42:03 +06:00
jvm {
compilations.main {
kotlinOptions {
jvmTarget = "1.8"
}
}
}
2021-05-29 15:34:14 +06:00
js(IR) {
browser()
2020-08-19 13:49:30 +06:00
nodejs()
}
2020-04-08 11:05:48 +06:00
sourceSets {
commonMain {
dependencies {
implementation kotlin('stdlib')
2021-10-18 15:20:25 +06:00
api project(":tgbotapi.utils")
2021-02-09 19:07:31 +06:00
}
}
2020-04-08 11:05:48 +06:00
}
}
2021-09-23 13:15:44 +06:00
java {
2021-11-14 19:42:03 +06:00
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
2021-09-23 13:15:44 +06:00
}
2021-10-18 15:20:25 +06:00