<@U0ANSGGVC>: maybe. hard to know. you need the...
# server
a
@kirillrakhman: maybe. hard to know. you need the
buildScript
block for defining the plugin classpath, the
apply
of the plugin, and then need the runtime library in your
dependencies
for the project. This page: https://kotlinlang.org/docs/reference/using-gradle.html shows all of this:
Copy code
buildscript {
  repositories {
    mavenCentral()
  }
  dependencies {
    classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:<version>'
  }
}

apply plugin: "kotlin" // or apply plugin: "kotlin2js" if targeting JavaScript

repositories {
  mavenCentral()
}

dependencies {
  compile 'org.jetbrains.kotlin:kotlin-stdlib:<version>'
}
is that what you tried?