github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/examples/tracing/jaeger/java-instrumentation/rideshare/build.gradle.kts (about)

     1  plugins {
     2      id("java")
     3      id("org.springframework.boot") version "2.7.1"
     4      id("io.spring.dependency-management") version "1.0.11.RELEASE"
     5  }
     6  
     7  group = "org.example"
     8  version = "1.0-SNAPSHOT"
     9  
    10  repositories {
    11      mavenCentral()
    12      maven("https://s01.oss.sonatype.org/content/repositories/snapshots/") //todo replace when otel is not shnapshot
    13      maven("https://repo.spring.io/snapshot")
    14      maven("https://repo.spring.io/milestone")
    15      maven("https://repo.spring.io/release")
    16  
    17  }
    18  
    19  dependencies {
    20      implementation("org.springframework.boot:spring-boot-starter-web")
    21      testImplementation("org.junit.jupiter:junit-jupiter-api:5.8.2")
    22      testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.8.2")
    23  }
    24  dependencyManagement {
    25      imports {
    26          mavenBom("org.springframework.cloud:spring-cloud-dependencies:2021.0.3")
    27          mavenBom("org.springframework.cloud:spring-cloud-sleuth-otel-dependencies:1.1.0-M7")
    28      }
    29  }
    30  
    31  tasks.getByName<Test>("test") {
    32      useJUnitPlatform()
    33  }
    34  
    35  tasks.create<Copy>("getDeps") {
    36      from(configurations.getByName("compileClasspath"))
    37      into("compileClasspath/")
    38  }