update to use resender bot in multiplatform

This commit is contained in:
2020-08-20 23:14:22 +06:00
parent b72921a44c
commit 426f8ffc61
9 changed files with 142 additions and 88 deletions

View File

@@ -0,0 +1,24 @@
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'kotlin'
apply plugin: 'application'
mainClassName="ResenderBotJvmKt"
repositories {
jcenter()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation project(":ResenderBot:ResenderBotLib")
}

View File

@@ -0,0 +1,5 @@
suspend fun main(args: Array<String>) {
activateResenderBot(args.first()) {
println(it)
}
}