PlaguBotBotTemplate/build.gradle

44 lines
1.1 KiB
Groovy
Raw Normal View History

2020-11-12 07:08:07 +00:00
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
}
}
plugins {
id 'org.jetbrains.kotlin.jvm' version "$kotlin_version"
id "org.jetbrains.kotlin.plugin.serialization" version "$kotlin_version"
2020-11-12 07:28:59 +00:00
id "org.jetbrains.kotlin.kapt" version "$kotlin_version"
2020-11-12 07:08:07 +00:00
id 'application'
}
repositories {
jcenter()
mavenCentral()
2020-11-12 07:28:59 +00:00
mavenLocal()
maven { url 'https://jitpack.io' }
maven { url "https://dl.bintray.com/insanusmokrassar/PlaguBot/" }
2020-11-12 07:08:07 +00:00
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
2020-11-14 03:33:38 +00:00
implementation "dev.inmo:plagubot.bot:$plagubot_version"
kapt "com.github.matfax.klassindex:processor:$klassindex_version"
2020-11-12 07:08:07 +00:00
}
application {
2020-11-12 07:28:59 +00:00
mainClassName = 'dev.inmo.plagubot.AppKt'
}
kapt {
arguments {
arg("com.github.matfax.klassindex.IndexSubclasses", "dev.inmo.plagubot.Plugin")
2021-02-17 08:57:18 +00:00
arg("com.github.matfax.klassindex.IndexAnnotated", "dev.inmo.sdi.SDIIncluded")
2020-11-12 07:28:59 +00:00
}
2020-11-12 07:08:07 +00:00
}