Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for hasProperty (0.21 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 12 11:42:09 GMT 2024
    - Last Modified: Sun Mar 17 14:46:34 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  3. build-logic/lifecycle/src/main/kotlin/gradlebuild.lifecycle.gradle.kts

            )
        }
    }
    
    fun globalProperty(pair: Pair<String, Any>) {
        val propertyName = pair.first
        val value = pair.second
        if (hasProperty(propertyName)) {
            val otherValue = property(propertyName)
            if (value.toString() != otherValue.toString()) {
    Plain Text
    - Registered: Wed Jan 24 11:36:10 GMT 2024
    - Last Modified: Fri Jan 20 15:24:40 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleBuildDocumentationPlugin.java

            applyConventions(project, tasks, objects, layout, extension);
    
            extension.getQuickFeedback().convention(providers.provider(() -> project.hasProperty("quickDocs")));
    
            project.apply(target -> target.plugin(GradleReleaseNotesPlugin.class));
            project.apply(target -> target.plugin(GradleJavadocsPlugin.class));
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Thu Feb 22 00:59:44 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  5. 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 17 11:36:08 GMT 2024
    - Last Modified: Thu Apr 11 12:20:44 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  6. 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