Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 146 for sourceDir (0.14 sec)

  1. platforms/ide/ide/src/testFixtures/groovy/org/gradle/plugins/ide/eclipse/EclipseClasspathFixture.groovy

            def matches = libs.findAll { it.jarName.contains(jarName) } + vars.findAll { it.jarName == jarName }
            assert matches.size() == 1
            return matches[0]
        }
    
        EclipseSourceDir sourceDir(String path) {
            def matches = getSourceDirs().findAll { it.path == path }
            assert matches.size() == 1
            return matches[0]
        }
    
        List<EclipseLibrary> getLibs() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/DefaultPrecompiledScriptPluginsSupport.kt

                @Suppress("DEPRECATION") jvmTarget.set(jvmTargetProvider)
    
                dependsOn(extractPrecompiledScriptPluginPlugins)
                sourceDir(extractedPluginsBlocks)
    
                dependsOn(generateExternalPluginSpecBuilders)
                sourceDir(externalPluginSpecBuilders)
    
                classPathFiles.from(compileClasspath)
                outputDir.set(compiledPluginsBlocks)
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 10:44:10 UTC 2024
    - 21K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/SourceParseAndResolutionTest.groovy

        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def includeDir = tmpDir.createDir("headers")
        def header = includeDir.createFile("hello.h")
        def sourceDir = tmpDir.createDir("src")
        def sourceFile = sourceDir.createFile("src.cpp")
        def resolver = new DefaultSourceIncludesResolver([includeDir], TestFiles.fileSystemAccess())
        def parser = new RegexBackedCSourceParser()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/incremental/transaction/CompileTransactionTest.groovy

            }
    
            then:
            stashDirIsEmpty
    
            where:
            pattern                              | directoryPath | description
            new PatternSet()                     | "sourceDir"   | "empty pattern"
            new PatternSet().include("**/*.txt") | null          | "empty directory"
        }
    
        def "stash and backup directory are generated"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 18K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/plugins/NativeComponentModelPlugin.java

                if (generatorTask != null) {
                    languageSourceSet.builtBy(generatorTask);
                    maybeSetSourceDir(languageSourceSet.getSource(), generatorTask, "sourceDir");
                    if (languageSourceSet instanceof HeaderExportingSourceSet) {
                        maybeSetSourceDir(((HeaderExportingSourceSet) languageSourceSet).getExportedHeaders(), generatorTask, "headerDir");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 24.1K bytes
    - Viewed (0)
  6. platforms/software/resources/src/main/java/org/gradle/internal/resource/UriTextResource.java

            this.description = description;
            this.sourceFile = sourceUri.getScheme().equals("file") ? FileUtils.normalize(new File(sourceUri.getPath())) : null;
            this.sourceUri = sourceUri;
            this.resolver = resolver;
        }
    
        public static UriTextResource from(String description, File sourceFile, RelativeFilePathResolver resolver) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/resolver/SourceDistributionResolverIntegrationTest.kt

        @Test
        fun `can download source distribution`() {
    
            withBuildScript(
                """
    
                val sourceDirs =
                    ${SourceDistributionResolver::class.qualifiedName}(project).run {
                        sourceDirs()
                    }
    
                require(sourceDirs.isNotEmpty()) {
                    "Expected source directories but got none"
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 13:27:15 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. platforms/software/resources/src/test/groovy/org/gradle/internal/resource/DownloadedUriTextResourceTest.groovy

            when:
            underTest = new DownloadedUriTextResource("Test description", sourceUri, "", downloadedFile, resolver)
    
            then:
            underTest.getDisplayName() == "Test description '$sourceUri'"
        }
    
        def "content should not be cached"() {
            when:
            underTest = new DownloadedUriTextResource("Test description", sourceUri, "", downloadedFile, resolver)
    
            then:
            !underTest.isContentCached()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  9. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseCustomBuildSourceOutputTest.groovy

            """
    
            when:
            run 'eclipse'
    
            then:
            classpath.sourceDirs.size() == 4
            classpath.sourceDirs[0].output == 'custom-output/main'
            classpath.sourceDirs[1].output == 'custom-output/main'
            classpath.sourceDirs[2].output == 'custom-output/test'
            classpath.sourceDirs[3].output == 'custom-output/test'
        }
    
        @ToBeFixedForConfigurationCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/python/flatbuffer_to_mlir.cc

          return "";
        }
      }
    
      mlir::MLIRContext context;
      context.printOpOnDiagnostic(true);
      llvm::SourceMgr sourceMgr;
      sourceMgr.AddNewSourceBuffer(std::move(input), llvm::SMLoc());
    
      mlir::OwningOpRef<mlir::ModuleOp> module =
          FlatBufferFileToMlirTranslation(&sourceMgr, &context);
      if (!module || failed(verify(*module))) return "";
    
      std::string mlir_output;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top