Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 63 for hasFiles (0.19 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/DynamicModulesClassPathProviderTest.groovy

            def provider = new DynamicModulesClassPathProvider(moduleRegistry, pluginModuleRegistry)
    
            when:
            def classpath = provider.findClassPath("GRADLE_EXTENSIONS")
    
            then:
            classpath.asFiles.collect { it.name } == [
                "gradle-workers.jar",
                "gradle-dependency-management.jar",
                "gradle-plugin-use.jar",
                "gradle-instrumentation-declarations.jar",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 18 09:54:09 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/vcs/internal/VcsResolver.java

         */
        @Nullable
        VersionControlSpec locateVcsFor(ModuleComponentSelector selector);
    
        /**
         * Does this resolver do anything?
         */
        boolean hasRules();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/ClassPathExtensions.kt

    import org.gradle.internal.classpath.ClassPath
    import org.gradle.internal.classpath.DefaultClassPath
    
    import java.io.File
    
    
    fun ClassPath.filter(predicate: (File) -> Boolean): ClassPath =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 18 00:04:38 UTC 2023
    - 895 bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

            super.setupHtmlData(runtime);
            systemHelper.setupAdminHtmlData(this, runtime);
    
            final Boolean editable = getUserBean()
                    .map(user -> user.hasRoles(fessConfig.getAuthenticationAdminRolesAsArray()) || user.hasRole(getActionRole())).orElse(false);
            runtime.registerData("editable", editable);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/Testing.kt

    inline fun withClassLoaderFor(classPath: ClassPath, action: ClassLoader.() -> Unit) =
        classLoaderFor(classPath).use(action)
    
    
    fun classLoaderFor(classPath: ClassPath): URLClassLoader =
        classLoaderFor(*classPath.asFiles.toTypedArray())
    
    
    fun classLoaderFor(vararg classPath: File): URLClassLoader =
        URLClassLoader.newInstance(
            classPath.map { it.toURI().toURL() }.toTypedArray()
        )
    
    
    val File.normalisedPath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleSourceDetector.java

                        .filter(Predicates.notNull());
            } catch (ExecutionException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        public boolean hasRules(Class<?> container) {
            return !Iterables.isEmpty(getDeclaredSources(container));
        }
    
        private boolean isRuleSource(Class<?> clazz) {
            return RuleSource.class.isAssignableFrom(clazz);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/lifecycle_test.go

    	tests := []struct {
    		lc       Lifecycle
    		opts     ObjectOpts
    		hasRules bool
    	}{
    		{ // Delete marker shouldn't match filter without tags
    			lc: Lifecycle{
    				Rules: []Rule{
    					rules[0],
    				},
    			},
    			opts: ObjectOpts{
    				DeleteMarker: true,
    				IsLatest:     true,
    				Name:         "obj-1",
    			},
    			hasRules: false,
    		},
    		{ // PUT version with no matching tags
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  8. .github/workflows/codeql-analysis.yml

          with:
            java-version: '17'
            distribution: 'temurin'
        - name: Cache Maven packages
          uses: actions/cache@v2
          with:
            path: ~/.m2
            key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
            restore-keys: ${{ runner.os }}-m2
        - name: Build with Maven
          run: mvn -B package --file pom.xml
    
        - name: Perform CodeQL Analysis
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Fri Nov 17 21:22:20 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleSourceDetectorTest.groovy

            HasTwoSources | [HasTwoSources.SourceOne, HasTwoSources.SourceTwo]
            IsASource     | [IsASource]
        }
    
        def "has model sources - #clazz"() {
            expect:
            detector.hasRules(clazz) == expected
    
            where:
            clazz        | expected
            String       | false
            HasOneSource | true
            IsASource    | true
        }
    
        def "does not hold strong reference"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/internal/IsolatedProjectsSafeKotlinDslScriptsModelBuilder.kt

    private
    fun buildOutputModel(scriptFile: File, classPath: ClassPath, sourcePath: ClassPath, implicitImports: List<String>, exceptions: List<Exception>) =
        StandardKotlinDslScriptModel(
            classPath.asFiles,
            sourcePath.asFiles,
            implicitImports,
            editorReports = emptyList(), // TODO:isolated support editor reports
            exceptions = getExceptionsForFile(scriptFile, exceptions)
        )
    
    
    private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 11:06:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top