Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 66 for someLib (0.14 sec)

  1. subprojects/core/src/test/groovy/org/gradle/internal/cleanup/DefaultBuildOutputCleanupRegistryTest.groovy

        def "can register files, directories and file collections"() {
            given:
            def dir1 = file('dir1')
            File file1 = file('someDir/test1.txt')
            File outputFile = file('someDir/test2.txt')
            def outputFiles = TestFiles.fixed(outputFile)
    
    
            when:
            registry.registerOutputs(dir1)
            registry.registerOutputs(file1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 29 20:47:06 UTC 2021
    - 3K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/webApplication/customized/kotlin/build.gradle.kts

    tasks.war {
        webAppDirectory = file("src/main/webapp")
        from("src/rootContent") // adds a file-set to the root of the archive
        webInf { from("src/additionalWebInf") } // adds a file-set to the WEB-INF dir.
        webXml = file("src/someWeb.xml") // copies a file to WEB-INF/web.xml
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 543 bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DefaultCopySpecResolutionTest.groovy

            childResolver.dirMode == 0x4
        }
    
        def canWalkDownTreeCreatedUsingFromIntegrationTest() {
    
            CopySpec child = parentSpec.from('somedir') { into 'child' }
            child.from('somedir') { into 'grandchild' }
            child.from('somedir') { into '/grandchild' }
    
            when:
            List<RelativePath> paths = new ArrayList<RelativePath>()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 28 12:39:32 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/locking/ExclusiveFileAccessManagerTest.groovy

        def 'If the directory for the lock file cannot be created then we get a good error message'() {
            given:
            def fileWithSameNameAsDirectory = temporaryDirectory.createFile('someDir')
            when:
            manager.access(fileWithSameNameAsDirectory.file('someFile.zip')) {
            }
    
            then:
            RuntimeException e = thrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:52:53 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/filesystem/CommonFileSystemTest.groovy

            where:
            mode << [0644, 0600, 0751]
        }
    
        @Requires(UnitTestPreconditions.FilePermissions)
        def "unix permissions on directories can be changed and read"() {
            def d = tmpDir.createDir("someDir\u03B1")
    
            when:
            fs.chmod(d, mode)
    
            then:
            fs.getUnixMode(d) == mode
            d.mode == mode
    
            where:
            mode << [0755, 0700, 0722]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. testing/integ-test/src/crossVersionTest/groovy/org/gradle/integtests/AbstractTaskSubclassingBinaryCompatibilityCrossVersionSpec.groovy

    """
        }
    
        protected void prepareMethodUseTest(GradleVersion targetVersion) {
            file("someFile").touch()
            file("anotherFile").touch()
            file("yetAnotherFile").touch()
            file("someDir").createDir()
    
            def apiDepConf = "implementation"
            if (targetVersion < GradleVersion.version("7.0-rc-1")) {
                apiDepConf = "compile"
            }
            def groovyDepConf
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioMultiProjectIntegrationTest.groovy

            settingsFile << """
                include ':exe', ':some:lib', ':other:lib'
            """
            buildFile << """
                project(":exe") {
                    apply plugin: "cpp-application"
    
                    dependencies {
                        implementation project(':some:lib')
                    }
                }
                project(":some:lib") {
                    apply plugin: "cpp-library"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/m5/EclipseModelWithFlatRepoCrossVersionSpec.groovy

            projectDir.file("build.gradle") << """
    apply plugin: "java"
    
    repositories {
    	flatDir dirs: file("${repoDir.toURI()}")
    }
    
    dependencies {
    	${implementationConfiguration} "some:lib:1.0"
    }
            """
    
            when:
            EclipseProject project = loadToolingModel(EclipseProject)
    
            then:
            project.classpath[0].file != null
            project.classpath[0].source == null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/plugin/use/internal/PluginUseScriptBlockMetadataCompiler.java

                                    PropertyExpression fullExpression = hasSinglePropertyExpressionArgument(call);
                                    if (fullExpression != null) {
                                        // <versionCatalog>.plugins.someId
                                        // or <versionCatalog>.plugins.some.id
                                        // because the expression might be complex we rely on its textual representation
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 28 01:30:32 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/m5/ToolingApiIdeaModelCrossVersionSpec.groovy

        }
    
        def "provides basic module information"() {
    
            file('build.gradle').text = """
    apply plugin: 'java'
    apply plugin: 'idea'
    
    idea.module.inheritOutputDirs = false
    idea.module.outputDir = file('someDir')
    idea.module.testOutputDir = file('someTestDir')
    """
    
            when:
            IdeaProject project = loadToolingModel(IdeaProject)
            def module = project.children[0]
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top