Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 83 for copySpec (0.64 sec)

  1. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/xctest/tasks/InstallXCTestBundle.java

            getFileSystemOperations().sync(new Action<CopySpec>() {
                @Override
                public void execute(CopySpec copySpec) {
                    copySpec.from(bundleFile, new Action<CopySpec>() {
                        @Override
                        public void execute(CopySpec copySpec) {
                            copySpec.into("Contents/MacOS");
                        }
                    });
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  2. platforms/jvm/war/src/main/java/org/gradle/api/tasks/bundling/War.java

         * @return The newly created {@code CopySpec}.
         */
        public CopySpec webInf(@SuppressWarnings("rawtypes") @DelegatesTo(CopySpec.class) Closure configureClosure) {
            return ConfigureUtil.configure(configureClosure, getWebInf());
        }
    
        /**
         * Adds some content to the {@code WEB-INF} directory for this WAR archive.
         *
         * <p>The given action is executed to configure a {@link CopySpec}.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. platforms/jvm/platform-jvm/src/main/java/org/gradle/jvm/tasks/Jar.java

         * @return The created {@code CopySpec}
         */
        public CopySpec metaInf(@DelegatesTo(CopySpec.class) Closure<?> configureClosure) {
            return ConfigureUtil.configure(configureClosure, getMetaInf());
        }
    
        /**
         * Adds content to this JAR archive's META-INF directory.
         *
         * <p>The given action is executed to configure a {@code CopySpec}.</p>
         *
         * @param configureAction The action.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-java-library/src/main/java/org/gradle/api/plugins/JavaLibraryDistributionPlugin.java

                JvmFeatureInternal mainFeature = JavaPluginHelper.getJavaComponent(project).getMainFeature();
                CopySpec childSpec = project.copySpec();
                childSpec.from(mainFeature.getJarTask());
                childSpec.from(project.file("src/dist"));
    
                CopySpec libSpec = project.copySpec();
                libSpec.into("lib");
                libSpec.from(mainFeature.getRuntimeClasspathConfiguration());
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 13:02:41 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/InitScriptApi.kt

         */
        @Suppress("unused")
        fun copySpec(): CopySpec =
            fileOperations.copySpec()
    
        /**
         * Creates a {@link CopySpec} which can later be used to copy files or create an archive.
         *
         * @param configuration The block to use to configure the [CopySpec].
         * @return The configured [CopySpec]
         */
        @Suppress("unused")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  6. platforms/jvm/war/src/test/groovy/org/gradle/api/tasks/bundling/WarTest.groovy

        def "test War"() {
            expect:
            war.archiveExtension.get() == War.WAR_EXTENSION
        }
    
        def "can configure WEB-INF CopySpec using an Action"() {
            given:
            war.webInf({ CopySpec spec ->
                spec.from temporaryFolder.createFile('file.txt')
            } as Action<CopySpec>)
    
            when:
            execute(war)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 22 18:51:45 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/delegates/ProjectDelegate.kt

        override fun uri(path: Any): URI =
            delegate.uri(path)
    
        override fun copySpec(closure: Closure<*>): CopySpec =
            delegate.copySpec(closure)
    
        override fun copySpec(action: Action<in CopySpec>): CopySpec =
            delegate.copySpec(action)
    
        override fun copySpec(): CopySpec =
            delegate.copySpec()
    
        override fun relativePath(path: Any): String =
            delegate.relativePath(path)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:16:16 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  8. platforms/jvm/plugins-application/src/main/java/org/gradle/api/plugins/ApplicationPluginConvention.java

         * into the "{@code lib}" directory.
         */
        public abstract CopySpec getApplicationDistribution();
    
        public abstract void setApplicationDistribution(CopySpec applicationDistribution);
    
        public abstract Project getProject();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-application/src/main/java/org/gradle/api/plugins/JavaApplication.java

         * copy the application start scripts into the "{@code bin}" directory, and copy the built jar and its dependencies
         * into the "{@code lib}" directory.
         */
        CopySpec getApplicationDistribution();
    
        void setApplicationDistribution(CopySpec applicationDistribution);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinDslNullnessIntegrationTest.kt

        }
    
        @Test
        fun `CopySpec#filter works with a null return value in script`() {
            withBuildScript("""
                fun eliminateEverything(spec: CopySpec) {
                    spec.filter { null }
                }
            """)
            build("help")
        }
    
        @Test
        fun `CopySpec#filter works with a null return value in a kotlin-dsl project`() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Sep 24 17:45:43 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top