Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for defaults (0.15 sec)

  1. .teamcity/src/test/kotlin/ApplyDefaultConfigurationTest.kt

            every {
                buildType.steps(capture(stepsCapturer))
            } answers {
                stepsCapturer.captured(steps)
                mockk()
            }
        }
    
        @Test
        fun `can apply defaults to configurations`() {
            applyDefaults(buildModel, buildType, "myTask")
    
            assertEquals(
                listOf(
                    "KILL_LEAKED_PROCESSES_FROM_PREVIOUS_BUILDS",
                    "GRADLE_RUNNER",
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  2. .idea/codeStyles/Project.xml

            </value>
          </option>
          <option name="NAME_COUNT_TO_USE_STAR_IMPORT" value="2147483647" />
          <option name="NAME_COUNT_TO_USE_STAR_IMPORT_FOR_MEMBERS" value="2147483647" />
          <option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
        </JetCodeStyleSettings>
        <codeStyleSettings language="Groovy">
          <option name="IF_BRACE_FORCE" value="3" />
          <option name="DOWHILE_BRACE_FORCE" value="3" />
    XML
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Jul 31 14:47:08 GMT 2023
    - 3.4K bytes
    - Viewed (1)
  3. build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt

        }
    
        @Test
        fun `package list excludes default package`() {
            assertEquals(listOf<String>(), getRelocatedPackages(someClassesInDefaultPackage()))
            assertEquals(EXPECTED_PACKAGE_LIST, getRelocatedPackages(someClasses() + someClassesInDefaultPackage()))
        }
    
        @Test
        fun `package list excludes default package (in jar)`() {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/resources/org/gradle/test/Java8Interface.java

    import java.io.IOException;
    import java.util.function.Supplier;
    
    /**
     * An interface that uses Java 8 source features.
     */
    public interface Java8Interface extends CombinedInterface, JavaInterface {
        default String getName() {
            try (Writer writer = new StringWriter()) {
                Supplier<String> methodReference = this::toString;
                Supplier<String> lambda = () -> this.toString();
    Java
    - Registered: Wed Apr 10 11:36:10 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.1K bytes
    - Viewed (0)
  5. .teamcity/.mvn/wrapper/MavenWrapperDownloader.java

    import java.util.Properties;
    
    public class MavenWrapperDownloader {
    
        private static final String WRAPPER_VERSION = "0.5.6";
        /**
         * Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is provided.
         */
        private static final String DEFAULT_DOWNLOAD_URL = "https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/"
            + WRAPPER_VERSION + "/maven-wrapper-" + WRAPPER_VERSION + ".jar";
    
        /**
    Java
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 4.8K bytes
    - Viewed (0)
  6. build-logic/integration-testing/src/main/kotlin/gradlebuild.distribution-testing.gradle.kts

    }
    
    fun Gradle.rootBuild(): Gradle = parent.let { it?.rootBuild() ?: this }
    
    tasks.withType<DistributionTest>().configureEach {
        shouldRunAfter("test")
    
        setJvmArgsOfTestJvm()
        setSystemPropertiesOfTestJVM("default")
        configureGradleTestEnvironment()
        addSetUpAndTearDownActions()
    }
    
    fun executerRequiresDistribution(taskName: String) =
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Tue Nov 28 20:40:40 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/KotlinDslReference.java

         * The location of the final rendered Dokka content.
         */
        public abstract DirectoryProperty getRenderedDocumentation();
    
        /**
         * The Dokka version to use instead the default one Dokkatoo is configured with.
         * Will use the Dokkatoo default, if not specified.
         */
        public abstract Property<String> getDokkaVersionOverride();
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 15 14:00:14 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

        isRetry: Boolean = false,
    ) {
        val stepName: String = if (isRetry) "GRADLE_RETRY_RUNNER" else "GRADLE_RUNNER"
        val stepExecutionMode: ExecutionMode = if (isRetry) ExecutionMode.RUN_ONLY_ON_FAILURE else ExecutionMode.DEFAULT
        val extraBuildScanTags: List<String> = if (isRetry) listOf("RetriedBuild") else emptyList()
    
        val buildScanTags = model.buildScanTags + listOfNotNull(stage?.id) + extraBuildScanTags
        val parameters = (
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  9. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

            val extension = this.extensions.create<ErrorProneSourceSetExtension>("errorprone", project.objects.property<Boolean>())
            // Enable it only for the main source set by default, as incremental Groovy
            // joint-compilation doesn't work with the Error Prone annotation processor
            extension.enabled.convention(this.name == "main")
    
            project.dependencies.addProvider(
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jan 30 10:26:21 GMT 2024
    - 6K bytes
    - Viewed (0)
  10. build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt

                    line.startsWith("DEFAULT_JVM_OPTS='") && line.endsWith('\'') -> {
                        ++replacementsCount
                        // Use shell's string concatenation: '...'"..." glues contents of quoted and double-quoted strings together.
                        // The result would be something like DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'" \"-javaagent:$APP_HOME/lib/agents/foobar.jar\""
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Fri Feb 24 10:25:27 GMT 2023
    - 6.3K bytes
    - Viewed (0)
Back to top