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") } }