build.gradle.kts 985 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. plugins {
  2. `kotlin-dsl`
  3. `maven-publish`
  4. }
  5. group = "com.sirekanyan"
  6. version = "0.0.4"
  7. repositories {
  8. mavenCentral()
  9. google()
  10. }
  11. dependencies {
  12. implementation("com.android.tools.build:gradle:4.0.0")
  13. implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.2.1")
  14. implementation("io.ktor:ktor-client-cio:1.4.3")
  15. implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.11.3")
  16. implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.11.3")
  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. java {
  32. sourceCompatibility = JavaVersion.VERSION_1_8
  33. targetCompatibility = JavaVersion.VERSION_1_8
  34. }
  35. tasks {
  36. compileKotlin {
  37. kotlinOptions {
  38. allWarningsAsErrors = true
  39. }
  40. }
  41. }