Advertisement
Guest User

Untitled

a guest
Nov 19th, 2018
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 1.29 KB | None | 0 0
  1. buildscript {
  2.     ext.kotlin_version = "1.3.10"
  3.     ext.ktor_version = "1.0.0-beta-3"
  4.     ext.logback_version = "1.2.3"
  5.     ext.koin_version = "1.0.1"
  6.  
  7.     repositories {
  8.         mavenCentral()
  9.     }
  10.     dependencies {
  11.         classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  12.     }
  13. }
  14.  
  15. plugins {
  16.     id "org.jetbrains.kotlin.jvm" version "1.3.10"
  17. }
  18.  
  19. apply plugin: "java"
  20. apply plugin: "kotlin2js"
  21. apply plugin: "kotlin"
  22.  
  23. repositories {
  24.     mavenCentral()
  25.     jcenter()
  26.     maven { url "https://dl.bintray.com/kotlin/ktor" }
  27. }
  28.  
  29. dependencies {
  30.     compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
  31.     compile "org.jetbrains.kotlin:kotlin-reflect"
  32.     compile "org.jetbrains.kotlin:kotlin-stdlib-js:$kotlin_version"
  33.  
  34.     compile "io.ktor:ktor-server-cio:$ktor_version"
  35.     compile "io.ktor:ktor-websockets:$ktor_version"
  36.  
  37.  
  38.     compile "org.koin:koin-core:$koin_version"
  39.     compile "org.koin:koin-core-ext:$koin_version"
  40.  
  41.     compile "org.slf4j:slf4j-simple:1.6.1"
  42.     compile "com.fasterxml.jackson.module:jackson-module-kotlin:2.9.+"
  43.  
  44.     compile "com.natpryce:konfig:1.6.10.0"
  45.  
  46.     compile "io.ktor:ktor-client-websocket:$ktor_version"
  47.     compile "io.ktor:ktor-client-cio:$ktor_version"
  48. }
  49.  
  50. compileKotlin {
  51.     kotlinOptions.jvmTarget = "1.8"
  52. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement