Advertisement
Arraying

Gradle

Jul 29th, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. buildscript {
  2. ext.kotlin_version = "1.1.3-2"
  3. repositories {
  4. mavenCentral()
  5. }
  6. dependencies {
  7. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  8. }
  9. }
  10.  
  11. plugins {
  12. id "application"
  13. id "com.github.johnrengelman.shadow" version "1.2.4"
  14. }
  15.  
  16. group "de.arraying.arraybot"
  17. ext.main = "Main"
  18. version "5.0.0"
  19. apply plugin: "kotlin"
  20. mainClassName = "${group}.{main}Kt"
  21.  
  22. repositories {
  23. jcenter()
  24. }
  25.  
  26. dependencies {
  27. compile "commons-io:commons-io:2.5"
  28. compile "com.zaxxer:HikariCP:2.5.1"
  29. compile "mysql:mysql-connector-java:5.1.39"
  30. compile "net.dv8tion:JDA:3.2.0_238"
  31. compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
  32. compile "org.jetbrains.kotlin:kotlin-script-util:$kotlin_version"
  33. compile "org.jetbrains.kotlin:kotlin-script-runtime:$kotlin_version"
  34. compile "org.jetbrains.kotlinx:kotlinx-coroutines-core:0.15"
  35. compile "org.json:json:20170516"
  36. compile "org.slf4j:slf4j-nop:1.7.9"
  37. compile files("libs/Pastebin.jar")
  38. }
  39.  
  40. kotlin {
  41. experimental {
  42. coroutines "enable"
  43. }
  44. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement