build.gradle.kts 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. plugins {
  2. val kotlinVersion = "1.4.10"
  3. kotlin("jvm") version kotlinVersion
  4. kotlin("plugin.serialization") version kotlinVersion
  5. }
  6. group = "me.mementomorri"
  7. version = "1.0"
  8. repositories {
  9. mavenCentral()
  10. jcenter()
  11. }
  12. val ktorVersion = "1.4.1"
  13. val logbackVersion = "1.2.3"
  14. val exposedVersion = "0.28.1"
  15. val h2Version = "1.4.200"
  16. dependencies {
  17. implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
  18. implementation("io.ktor:ktor-server-netty:$ktorVersion")
  19. implementation("ch.qos.logback:logback-classic:$logbackVersion")
  20. implementation("io.ktor:ktor-serialization:$ktorVersion")
  21. implementation("org.jetbrains.exposed:exposed-core:$exposedVersion")
  22. implementation("org.jetbrains.exposed:exposed-dao:$exposedVersion")
  23. implementation("org.jetbrains.exposed:exposed-jdbc:$exposedVersion")
  24. implementation("org.jetbrains.exposed:exposed-java-time:$exposedVersion")
  25. implementation("com.h2database:h2:$h2Version")
  26. testImplementation("org.jetbrains.kotlin:kotlin-test")
  27. testImplementation("io.ktor:ktor-server-tests:$ktorVersion")
  28. }