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

     1  plugins {
     2      id("java")
     3      id("org.springframework.boot") version "2.7.0"
     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  }
    13  
    14  dependencies {
    15      implementation("io.pyroscope:agent:0.8.0")
    16      implementation("org.springframework.boot:spring-boot-starter-web")
    17      testImplementation("org.junit.jupiter:junit-jupiter-api:5.8.2")
    18      testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.8.2")
    19  }
    20  
    21  tasks.getByName<Test>("test") {
    22      useJUnitPlatform()
    23  }