github.com/jfrog/frogbot@v1.1.1-0.20231221090046-821a26f50338/testdata/projects/gradle/innerProjectForTest/fixedBuildGradleKtsForCompare.txt (about)

     1  // This file is used for several tests including text comparisons. Please DO NOT change its content
     2  // If you do change it make sure all Gradle packagehandler related tests in packagehandlers_test.go doesn't break
     3  val spi: Configuration by configurations.creating
     4  
     5  dependencies {
     6      // This repeated dependency is required in order to check 'create-fix' captures all formats of direct dependencies
     7      runtimeOnly('junit:junit:4.13.1')
     8      runtimeOnly("junit:junit:4.13.1")
     9      runtimeOnly('junit:junit:4.13.1:javadoc')
    10      runtimeOnly("junit:junit:4.13.1") {
    11          isTransitive = true
    12      }
    13  
    14      runtimeOnly(group = 'junit', name = 'junit', version = '4.13.1')
    15      runtimeOnly(group = "junit", name = "junit", version = "4.13.1")
    16      runtimeOnly(group = 'junit', name = 'junit', version = '4.13.1', classifier = 'javadoc')
    17      runtimeOnly(group = 'junit', name = 'junit', version = '4.13.1') {
    18          isTransitive = true
    19      }
    20      runtimeOnly(group = "junit", name = "junit",
    21              version = "4.13.1")
    22  
    23      runtimeOnly("my.group:my.dot.name:1.9.9")
    24      runtimeOnly(group = 'my.group', name = 'my.dot.name', version = '1.9.9')
    25  
    26      // This dependencies should not be changed
    27      runtimeOnly('junit:junit:5.7')
    28      runtimeOnly('junit2:junit2:4.7')
    29  
    30      // This repeated dependency is required to check that 'create-fix' doesn't fix lines with unsupported-version fix
    31      // When the package was found as vulnerable by xRay and fix is applicable somewhere else in the build file
    32      runtimeOnly(group = 'commons-io', name = 'commons-io', version = '1.+')
    33      runtimeOnly(group = 'commons-io', name = 'commons-io', version = '[1.1, 3.5)')
    34      runtimeOnly('commons-io:commons-io:latest.release')
    35  }