Utility IRC bot
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.gradle.kts 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
  2. plugins {
  3. kotlin("jvm") version "1.3.20"
  4. }
  5. repositories {
  6. jcenter()
  7. mavenCentral()
  8. maven("https://github.com/JetBrains/Exposed")
  9. }
  10. dependencies {
  11. implementation(kotlin("stdlib-jdk8", "1.3.20"))
  12. implementation("com.dmdirc:ktirc:0.7.0")
  13. implementation("com.ufoscout.properlty:properlty:1.9.0")
  14. implementation("org.jetbrains.exposed:exposed:0.12.1")
  15. implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.1.1")
  16. implementation("io.ktor:ktor-client-core:1.1.2")
  17. implementation("io.ktor:ktor-client-okhttp:1.1.2")
  18. implementation("io.ktor:ktor-client-json:1.1.2")
  19. implementation("io.ktor:ktor-client-gson:1.1.2")
  20. implementation("org.xerial:sqlite-jdbc:3.21.0.1")
  21. }
  22. java {
  23. sourceCompatibility = JavaVersion.VERSION_1_8
  24. targetCompatibility = JavaVersion.VERSION_1_8
  25. }
  26. tasks.withType<Wrapper> {
  27. gradleVersion = "5.1.1"
  28. }
  29. tasks.withType<KotlinCompile> {
  30. kotlinOptions {
  31. jvmTarget = "1.8"
  32. }
  33. }
  34. configurations.all {
  35. resolutionStrategy.eachDependency {
  36. if (requested.group == "org.jetbrains.kotlin") {
  37. useVersion("1.3.20")
  38. }
  39. }
  40. }