build.gradle.kts 874 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. plugins {
  2. `kotlin-dsl`
  3. `maven-publish`
  4. id("bump-plugin") version "0.0.4"
  5. }
  6. group = "com.sirekanyan"
  7. version = "0.0.4"
  8. repositories {
  9. mavenCentral()
  10. }
  11. dependencies {
  12. implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
  13. implementation("io.ktor:ktor-client-cio:2.2.4")
  14. implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.14.2")
  15. implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.14.2")
  16. }
  17. gradlePlugin {
  18. plugins {
  19. create("Check dependency versions") {
  20. id = "bump-plugin"
  21. implementationClass = "com.sirekanyan.bump.BumpPlugin"
  22. }
  23. }
  24. }
  25. publishing {
  26. repositories {
  27. mavenLocal()
  28. }
  29. }
  30. kotlin {
  31. jvmToolchain(11)
  32. }
  33. tasks {
  34. compileKotlin {
  35. kotlinOptions {
  36. allWarningsAsErrors = true
  37. }
  38. }
  39. }