build.gradle.kts 906 B

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