build.gradle.kts 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. plugins {
  2. id("otel.javaagent-instrumentation")
  3. }
  4. muzzle {
  5. pass {
  6. group.set("org.grails")
  7. module.set("grails-web-url-mappings")
  8. versions.set("[3.0,)")
  9. // version 3.1.15 depends on org.grails:grails-datastore-core:5.0.13.BUILD-SNAPSHOT
  10. // which (obviously) does not exist
  11. // version 3.3.6 depends on org.grails:grails-datastore-core:6.1.10.BUILD-SNAPSHOT
  12. // which (also obviously) does not exist
  13. skip("3.1.15", "3.3.6")
  14. assertInverse.set(true)
  15. }
  16. }
  17. repositories {
  18. mavenCentral()
  19. maven {
  20. setUrl("https://repo.grails.org/artifactory/core")
  21. mavenContent {
  22. releasesOnly()
  23. }
  24. }
  25. mavenLocal()
  26. }
  27. // first version where our tests work
  28. val grailsVersion = "3.0.6"
  29. val springBootVersion = "1.2.5.RELEASE"
  30. dependencies {
  31. library("org.grails:grails-plugin-url-mappings:$grailsVersion")
  32. testInstrumentation(project(":instrumentation:servlet:servlet-3.0:javaagent"))
  33. testInstrumentation(project(":instrumentation:servlet:servlet-javax-common:javaagent"))
  34. testInstrumentation(project(":instrumentation:tomcat:tomcat-7.0:javaagent"))
  35. testInstrumentation(project(":instrumentation:spring:spring-webmvc-3.1:javaagent"))
  36. testLibrary("org.springframework.boot:spring-boot-autoconfigure:$springBootVersion")
  37. testLibrary("org.springframework.boot:spring-boot-starter-tomcat:$springBootVersion")
  38. latestDepTestLibrary("org.grails:grails-plugin-url-mappings:4.0.+")
  39. latestDepTestLibrary("org.springframework.boot:spring-boot-autoconfigure:2.1.17.RELEASE")
  40. latestDepTestLibrary("org.springframework.boot:spring-boot-starter-tomcat:2.1.17.RELEASE")
  41. }