Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for repoRoot (0.11 sec)

  1. build-logic/cleanup/src/main/kotlin/gradlebuild/testing/services/BuildBucketProvider.kt

            val excludeTestClasses: Property<String>
            val onlyTestGradleVersion: Property<String>
            val repoRoot: DirectoryProperty
        }
    
        val bucketProvider = when {
            parameters.includeTestClasses.get().isNotBlank() -> {
                val content = parameters.repoRoot.file("test-splits/include-test-classes.properties").get().asFile.readText()
                println("Tests to be included:\n$content")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

    import gradlebuild.basics.buildVersionQualifier
    import gradlebuild.basics.ignoreIncomingBuildReceipt
    import gradlebuild.basics.isPromotionBuild
    import gradlebuild.basics.releasedVersionsFile
    import gradlebuild.basics.repoRoot
    import gradlebuild.identity.extension.ModuleIdentityExtension
    import gradlebuild.identity.extension.ReleasedVersionsDetails
    import gradlebuild.identity.provider.BuildTimestampFromBuildReceiptValueSource
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. build-logic/cleanup/src/main/kotlin/gradlebuild.cleanup.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    import gradlebuild.basics.repoRoot
    import gradlebuild.cleanup.services.DaemonTracker
    
    gradle.sharedServices.registerIfAbsent("daemonTracker", DaemonTracker::class) {
        parameters.rootProjectDir = repoRoot()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jan 20 15:24:40 UTC 2023
    - 828 bytes
    - Viewed (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

    fun Project.getBuildEnvironmentExtensionOrNull(): BuildEnvironmentExtension? = extensions.findByType(BuildEnvironmentExtension::class.java)
    
    fun Project.repoRoot(): Directory = getBuildEnvironmentExtensionOrNull()?.repoRoot?.get() ?: layout.projectDirectory.parentOrRoot()
    
    fun Directory.parentOrRoot(): Directory = if (this.file("version.txt").asFile.exists()) {
        this
    } else {
        val parent = dir("..")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 09 08:19:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. build-logic/buildquality/src/main/kotlin/gradlebuild.incubation-report.gradle.kts

    import gradlebuild.basics.repoRoot
    import gradlebuild.incubation.tasks.IncubatingApiReportTask
    
    plugins {
        java
        groovy
    }
    
    val reportTask = tasks.register<IncubatingApiReportTask>("incubationReport") {
        group = "verification"
        description = "Generates a report of incubating APIS"
        title = project.name
        versionFile = repoRoot().file("version.txt")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Feb 12 13:19:06 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. build-logic-settings/build-environment/src/main/kotlin/gradlebuild/basics/BuildEnvironmentExtension.kt

    import org.gradle.api.file.DirectoryProperty
    import org.gradle.api.provider.Property
    
    
    interface BuildEnvironmentExtension {
        val gitCommitId: Property<String>
        val gitBranch: Property<String>
        val repoRoot: DirectoryProperty
        val rootProjectBuildDir: DirectoryProperty
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 26 07:44:12 UTC 2024
    - 929 bytes
    - Viewed (0)
  7. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

     * limitations under the License.
     */
    
    import com.google.gson.Gson
    import com.google.gson.reflect.TypeToken
    import com.google.gson.stream.JsonReader
    import gradlebuild.basics.repoRoot
    import gradlebuild.basics.isBundleGroovy4
    import gradlebuild.modules.extension.ExternalModulesExtension
    
    val libs = extensions.create<ExternalModulesExtension>("libs", isBundleGroovy4)
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 05 20:15:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. build-logic-settings/build-environment/src/main/kotlin/gradlebuild.build-environment.settings.gradle.kts

            buildEnvironmentExtension.gitCommitId = service.flatMap { it.gitCommitId }
            buildEnvironmentExtension.gitBranch = service.flatMap { it.gitBranch }
            buildEnvironmentExtension.repoRoot = this@with
            buildEnvironmentExtension.rootProjectBuildDir = service.flatMap { it.parameters.rootProjectBuildDir }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 26 07:44:12 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. common/scripts/setup_env.sh

    # Note: the normal way we use in other scripts in Istio do not work when `source`d, which is why we use this approach
    SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
    REPO_ROOT="$(dirname "$(dirname "${SCRIPT_DIR}")")"
    
    LOCAL_ARCH=$(uname -m)
    
    # Pass environment set target architecture to build system
    if [[ ${TARGET_ARCH} ]]; then
        # Target explicitly set
        :
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 06 04:52:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top