mirror of
https://github.com/InsanusMokrassar/PlaguBotBotTemplate.git
synced 2024-11-18 05:33:46 +00:00
44 lines
1.1 KiB
Groovy
44 lines
1.1 KiB
Groovy
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"
|
|
id "org.jetbrains.kotlin.kapt" version "$kotlin_version"
|
|
id 'application'
|
|
}
|
|
|
|
repositories {
|
|
jcenter()
|
|
mavenCentral()
|
|
mavenLocal()
|
|
maven { url 'https://jitpack.io' }
|
|
maven { url "https://dl.bintray.com/insanusmokrassar/PlaguBot/" }
|
|
}
|
|
|
|
dependencies {
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
implementation "dev.inmo:plagubot.bot:$plagubot_version"
|
|
|
|
kapt "com.github.matfax.klassindex:processor:$klassindex_version"
|
|
}
|
|
|
|
application {
|
|
mainClassName = 'dev.inmo.plagubot.AppKt'
|
|
}
|
|
|
|
kapt {
|
|
arguments {
|
|
arg("com.github.matfax.klassindex.IndexSubclasses", "dev.inmo.plagubot.Plugin")
|
|
arg("com.github.matfax.klassindex.IndexAnnotated", "dev.inmo.sdi.SDIIncluded")
|
|
}
|
|
}
|