Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for someTar (0.13 sec)

  1. platforms/software/platform-base/src/test/groovy/org/gradle/api/plugins/BasePluginTest.groovy

            someZip.archiveBaseName.get() == project.archivesBaseName
    
            and:
            def someTar = project.tasks.create('someTar', Tar)
            someTar.destinationDirectory.get().asFile == project.distsDirectory.get().asFile
            someTar.archiveVersion.get() == project.version
            someTar.archiveBaseName.get() == project.archivesBaseName
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/files/fileTrees/kotlin/build.gradle.kts

    val tar: FileTree = tarTree("someFile.tar")
    
    // tar tree attempts to guess the compression based on the file extension
    // however if you must specify the compression explicitly you can:
    val someTar: FileTree = tarTree(resources.gzip("someTar.ext"))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/files/fileTrees/groovy/build.gradle

    FileTree tar = tarTree('someFile.tar')
    
    //tar tree attempts to guess the compression based on the file extension
    //however if you must specify the compression explicitly you can:
    FileTree someTar = tarTree(resources.gzip('someTar.ext'))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/Script.java

         *
         *   //tar tree attempts to guess the compression based on the file extension
         *   //however if you must specify the compression explicitly you can:
         *   from tarTree(resources.gzip('someTar.ext'))
         *
         *   //in case you work with unconventionally compressed tars
         *   //you can provide your own implementation of a ReadableResource:
         *   //from tarTree(yourOwnResource as ReadableResource)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/NullabilityChangesTest.kt

                v1 = """
                    class Source {
                        val someVal: String = "some"
                        var someVar: String = "some"
                        fun foo(): String = "bar"
                    }
                """,
                v2 = """
                    class Source {
                        val someVal: String? = null
                        var someVar: String? = null
                        fun foo(): String? = null
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 9.1K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/api/Project.java

         *
         *   //tar tree attempts to guess the compression based on the file extension
         *   //however if you must specify the compression explicitly you can:
         *   from tarTree(resources.gzip('someTar.ext'))
         *
         *   //in case you work with unconventionally compressed tars
         *   //you can provide your own implementation of a ReadableResource:
         *   //from tarTree(yourOwnResource as ReadableResource)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 04:56:22 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/build/KotlinDslTestProjectInitiation.groovy

                    a: a,
                    b: b
                ]
            )
        }
    
        String getBuildScriptDependency(someJar) {
            """
                buildscript {
                    dependencies {
                        classpath(files("${escapeString(someJar)}"))
                    }
                }
            """
        }
    
        TestFile withDefaultSettings() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. platforms/jvm/war/src/test/groovy/org/gradle/api/tasks/bundling/WarTest.groovy

        def "configures destinationDirectory for war tasks"() {
            when:
            project.pluginManager.apply(JavaBasePlugin)
            project.version = '1.0'
    
            then:
            def someWar = project.tasks.create('someWar', War)
            someWar.destinationDirectory.get().asFile == project.libsDirectory.get().asFile
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 22 18:51:45 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DirectoryOutputArtifactIntegrationTest.groovy

        def "can attach a directory as output of a configuration"() {
            given:
            file('someDir/a.txt') << 'some text'
            buildFile << '''
    
            configurations {
                compile
                _classpath
            }
    
            artifacts {
                _classpath file("someDir")
            }
    
            dependencies {
                compile project(path: ':', configuration: '_classpath')
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8K bytes
    - Viewed (0)
  10. tests/test_callable_endpoint.py

    from fastapi.testclient import TestClient
    
    
    def main(some_arg, q: Optional[str] = None):
        return {"some_arg": some_arg, "q": q}
    
    
    endpoint = partial(main, "foo")
    
    app = FastAPI()
    
    app.get("/")(endpoint)
    
    
    client = TestClient(app)
    
    
    def test_partial():
        response = client.get("/?q=bar")
        data = response.json()
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Jun 28 18:13:30 UTC 2020
    - 457 bytes
    - Viewed (0)
Back to top