Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for hasProperty (0.22 sec)

  1. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

    private
    fun IntegrationTest.addDebugProperties() {
        // TODO Move magic property out
        if (project.hasProperty("org.gradle.integtest.debug")) {
            systemProperties["org.gradle.integtest.debug"] = "true"
            testLogging.showStandardStreams = true
        }
        // TODO Move magic property out
        if (project.hasProperty("org.gradle.integtest.verbose")) {
            testLogging.showStandardStreams = true
        }
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  2. container-tests/build.gradle.kts

    val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
    
    tasks.withType<Test> {
      useJUnitPlatform()
      onlyIf("By default not in CI") {
        System.getenv("CI") == null
          || (project.hasProperty("containerTests") && project.property("containerTests").toString().toBoolean())
      }
    
      jvmArgs(
        "-Dokhttp.platform=$platform",
      )
    
      if (platform == "loom") {
        jvmArgs(
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Sun Mar 17 14:46:34 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle

                .replaceAll('$', '\\$')
                .replaceAll('/', '[.]')
                .replaceAll('###', '.*?')
        }
    }
    
    private String writeFilterPreset(Project project) {
        def preset = project.hasProperty('bin.cmp.report.severity.filter') ? project.getProperty('bin.cmp.report.severity.filter') : 'All levels'
        return """<input id="filter-preset" type="hidden" value="$preset" />"""
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Apr 11 12:20:44 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  4. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

        }
    }
    
    fun removeTeamcityTempProperty() {
        // Undo: https://github.com/JetBrains/teamcity-gradle/blob/e1dc98db0505748df7bea2e61b5ee3a3ba9933db/gradle-runner-agent/src/main/scripts/init.gradle#L818
        if (project.hasProperty("teamcity")) {
            @Suppress("UNCHECKED_CAST") val teamcity = project.property("teamcity") as MutableMap<String, Any>
            teamcity["teamcity.build.tempDir"] = ""
        }
    }
    
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Jan 17 13:36:27 GMT 2024
    - 15.7K bytes
    - Viewed (0)
Back to top