40 lines
913 B
Groovy
40 lines
913 B
Groovy
buildscript {
|
|
repositories {
|
|
mavenLocal()
|
|
jcenter()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id "org.jetbrains.kotlin.plugin.serialization" version "$kotlin_version"
|
|
}
|
|
|
|
project.version = "$core_version"
|
|
project.group = "com.insanusmokrassar"
|
|
|
|
apply plugin: "java-library"
|
|
apply plugin: "kotlin"
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
jcenter()
|
|
mavenCentral()
|
|
maven { url "https://kotlin.bintray.com/kotlinx" }
|
|
}
|
|
|
|
dependencies {
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
|
|
api projectByName("ktor.client")
|
|
api projectByName("ktor.server")
|
|
|
|
testImplementation "org.jetbrains.kotlin:kotlin-test"
|
|
testImplementation "org.jetbrains.kotlin:kotlin-test-junit"
|
|
}
|