Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 139 for isFile (0.32 sec)

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

        abstract val optionalProjects: ListProperty<String>
    
        @get:Internal
        abstract val projectDependencies: ConfigurableFileCollection
    
        @Input
        val runtime = externalDependencies.elements.map { it.map { it.asFile.name }.sorted() }
    
        @get:Internal
        abstract val externalDependencies: ConfigurableFileCollection
    
        @Input
        val projects = projectDependencies.elements.map { it.map { it.toGradleModuleName() }.sorted() }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Mar 28 20:26:58 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

            provider.parse(sourceFile.get().asFile)
            transformDocument(provider.document)
            provider.write(destFile.get().asFile)
        }
    
        private def transformDocument(Document mainDocbookTemplate) {
            ClassMetaDataRepository<ClassMetaData> classRepository = new SimpleClassMetaDataRepository<ClassMetaData>()
            classRepository.load(classMetaDataFile.get().asFile)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 9.8K bytes
    - Viewed (0)
  3. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt

    @Suppress("LoopWithTooManyJumpStatements")
    fun FileSystemOperations.removeOldVersionsFromDir(dir: Directory, shouldDelete: Spec<GradleVersion>, dirPrefix: String = "", dirSuffix: String = "") {
        if (dir.asFile.isDirectory) {
            for (cacheDir in dir.asFile.listFiles()) {
                val cacheDirName = cacheDir.name
                if (!cacheDirName.startsWith(dirPrefix) || !cacheDirName.endsWith(dirSuffix)) {
                    continue
                }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle

            delegate,
            acceptedViolations,
            apiSourceFolders,
            baseVersion.get(),
            mainApiChangesJsonFile.asFile,
            project.isolated.rootProject.projectDirectory,
            currentUpgradedPropertiesFile.get().asFile,
            baselineUpgradedPropertiesFile.get().asFile
        )
    }
    tasks.named("check").configure { dependsOn(checkBinaryCompatibility) }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 26 08:15:16 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/SamplesGenerator.kt

            // clear the target directory to remove renamed files and reset the README file
            target.asFile.deleteRecursively()
    
            val groovyDslSettings = InitSettings(projectName, false, descriptor.componentType.defaultProjectNames, modularization, BuildInitDsl.GROOVY, packageName, testFramework, target.dir("groovy"))
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 22 11:11:17 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. build-logic/build.gradle.kts

        val rootPropertiesFile = layout.projectDirectory.file("../gradle.properties")
        doLast {
            val buildLogicProperties = readProperties(buildLogicPropertiesFile.asFile)
            val rootProperties = readProperties(rootPropertiesFile.asFile)
            val jvmArgs = listOf(buildLogicProperties, rootProperties).map { it.getProperty("org.gradle.jvmargs") }.toSet()
            if (jvmArgs.size > 1) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jan 24 02:52:56 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupRootPlugin.kt

            return listOf(project.layout.buildDirectory.file("test-results/$name/trace.json").get().asFile)
        }
    
        private
        fun Task.genericHtmlReports() = when (this) {
            is Reporting<*> -> listOf(this.reports["html"].outputLocation.get().asFile)
            else -> emptyList()
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 06 10:57:13 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy

        @TaskAction
        def transform() {
            XIncludeAwareXmlProvider provider = new XIncludeAwareXmlProvider()
            provider.parse(sourceFile.get().asFile)
            transformImpl(provider.document)
            provider.write(destFile.get().asFile)
        }
    
        private def transformImpl(Document doc) {
            use(BuildableDOMCategory) {
                addVersionInfo(doc)
                transformApiLinks(doc)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. cmd/data-usage_test.go

    			oSizes: sizeHistogram{0: 1, 1: 1, 2: 2, 4: 1},
    		},
    		{
    			path:  "/dir1/dira",
    			isNil: true,
    		},
    		{
    			path:  "/nonexistying",
    			isNil: true,
    		},
    	}
    
    	for _, w := range want {
    		p := path.Join(bucket, w.path)
    		t.Run(p, func(t *testing.T) {
    			e := got.find(p)
    			if w.isNil {
    				if e != nil {
    					t.Error("want nil, got", e)
    				}
    				return
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  10. cmd/storage-rest-common_gen.go

    				err = msgp.WrapError(err, "DiskID")
    				return
    			}
    		case "m":
    			z.ScanMode, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "ScanMode")
    				return
    			}
    		case "c":
    			if dc.IsNil() {
    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "Cache")
    					return
    				}
    				z.Cache = nil
    			} else {
    				if z.Cache == nil {
    					z.Cache = new(dataUsageCache)
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top