Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Parent (0.65 sec)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

    fun Directory.parentOrRoot(): Directory = if (this.file("version.txt").asFile.exists()) {
        this
    } else {
        val parent = dir("..")
        when {
            parent.file("version.txt").asFile.exists() -> parent
            this == parent -> throw IllegalStateException("Cannot find 'version.txt' file in root of repository")
            else -> parent.parentOrRoot()
        }
    }
    
    
    fun Project.releasedVersionsFile() = repoRoot().file("released-versions.json")
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 09 22:52:01 GMT 2024
    - 5.7K bytes
    - Viewed (2)
  2. .teamcity/README.md

      - The project ID will be auto-generated as `Gradle_MyTestBranch`. If not, you probably selected wrong parent, the "Parent project" should be `Gradle`.
    - Now click on the new project you just created. The URL should be `https://builds.gradle.org/admin/editProject.html?projectId=Gradle_<MyTestBranch>`.
    - Click `Versioned Settings` on the left sidebar.
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Mar 06 23:02:25 GMT 2024
    - 4K bytes
    - Viewed (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/BuildScanInfoCollectingServices.kt

    ) {
        val gradleRootProject = when {
            project.name == "gradle" -> project.rootProject
            project.rootProject.name == "build-logic" -> rootProject.gradle.parent?.rootProject
            else -> project.gradle.parent?.rootProject
        }
    
        if (gradleRootProject != null && System.getenv("TEAMCITY_VERSION") != null) {
            val rootProjectName = rootProject.name
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 03:34:53 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. architecture/build-state-model.md

    ### Project state
    
    The "project state" holds the state for a project for a single build execution, and is contained by the build state (and not the state of the parent project).
    
    The project state is managed by the `ProjectState` class.
    It is created for each project in the build definition, once per build execution and is discarded at the end of the execution.
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sun May 05 22:45:11 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  5. build-logic/integration-testing/src/main/kotlin/gradlebuild.distribution-testing.gradle.kts

        parameters.gradleVersion = moduleIdentity.version.map { it.version }
        parameters.homeDir = intTestHomeDir
    }
    
    fun Gradle.rootBuild(): Gradle = parent.let { it?.rootBuild() ?: this }
    
    tasks.withType<DistributionTest>().configureEach {
        shouldRunAfter("test")
    
        setJvmArgsOfTestJvm()
        setSystemPropertiesOfTestJVM("default")
    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)
  6. build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt

            assertEquals(EXPECTED_PACKAGE_LIST, getRelocatedPackages(aJar(someClasses() + someClassesInDefaultPackage())))
        }
    
        private
        fun touchFile(path: Path) {
            Files.createDirectories(path.parent)
            Files.write(path, byteArrayOf())
        }
    
        private
        fun someClasses(): Sequence<Path> {
            val directory = projectDir.resolve("classes")
    
    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)
  7. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt

                override fun afterTest(test: TestDescriptor, result: TestResult) = Unit
                override fun beforeSuite(suite: TestDescriptor) {
                    if (suite.parent == null) {
                        forEachJavaProcess { pid, _ ->
                            // processes that exist before the test suite execution should
                            // not trigger a warning
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

                // Add the agent JAR to the test runtime classpath so the InProcessGradleExecuter can find the module and spawn daemons.
                // This doesn't apply the agent to the test process.
                "${prefix}TestRuntimeOnly"(project(":instrumentation-agent"))
                "${prefix}TestAgentsClasspath"(project(":instrumentation-agent"))
            }
        }
    }
    
    
    internal
    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)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt

            internal val bar = "bar"
    
            internal var bazar = "bazar"
    
            internal fun String.fooExt() {}
    
            internal fun Int.fooExt() {}
    
            internal val String.barExt: String
                get() = "bar"
    
            internal var Int.bazarExt: String
                get() = "bar"
                set(value) = Unit
    
        """
    
        private
        val publicMembers = """
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jul 11 06:57:51 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  10. build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/extension/ExternalModulesExtension.kt

        val archunitJunit5Api = "com.tngtech.archunit:archunit-junit5-api"
        val awaitility = "org.awaitility:awaitility-kotlin"
        val bytebuddy = "net.bytebuddy:byte-buddy"
        val bytebuddyAgent = "net.bytebuddy:byte-buddy-agent"
        val cglib = "cglib:cglib"
        val compileTesting = "com.google.testing.compile:compile-testing"
        val equalsverifier = "nl.jqno.equalsverifier:equalsverifier"
        val hikariCP = "com.zaxxer:HikariCP"
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 16 15:50:58 GMT 2024
    - 14.4K bytes
    - Viewed (0)
Back to top