Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for someLib (0.38 sec)

  1. platforms/documentation/docs/src/snippets/files/archiveNaming/groovy/build.gradle

    // tag::zip-task[]
    plugins {
        id 'base'
    }
    
    version = 1.0
    
    tasks.register('myZip', Zip) {
        from 'somedir'
        File projectDir = layout.projectDirectory.asFile
        doLast {
            println archiveFileName.get()
            println projectDir.relativePath(destinationDirectory.get().asFile)
            println projectDir.relativePath(archiveFile.get().asFile)
        }
    }
    // end::zip-task[]
    
    // tag::zip-task-with-custom-base-name[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 617 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/files/archivesChangedBaseName/groovy/build.gradle

        libsDirectory = layout.buildDirectory.dir('custom-libs')
    }
    // end::base-plugin-config[]
    
    def myZip = tasks.register('myZip', Zip) {
        from 'somedir'
    }
    
    def myOtherZip = tasks.register('myOtherZip', Zip) {
        archiveAppendix = 'wrapper'
        archiveClassifier = 'src'
        from 'somedir'
    }
    
    tasks.register('echoNames') {
        def projectNameString = project.name
        def archiveFileName = myZip.flatMap { it.archiveFileName }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 826 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/developingPlugins/reactingToPlugins/groovy/buildSrc/src/main/java/InhouseConventionWarPlugin.java

    public class InhouseConventionWarPlugin implements Plugin<Project> {
        public void apply(Project project) {
            project.getTasks().withType(War.class).configureEach(war ->
                war.setWebXml(project.file("src/someWeb.xml")));
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 387 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/webApplication/customized/groovy/build.gradle

    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
    - 538 bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/FileDependencyResolveIntegrationTest.groovy

                    }
                }
            }
        }
    
        def "can select directory using artifact type and compatibility rule"() {
            settingsFile << "rootProject.name='main'"
            file("someDir").createDir()
            buildFile << '''
                allprojects {
                    configurations {
                        compile {
                            attributes {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 23 22:33:17 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top