build.gradle.kts 836 B

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