Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for installTask (0.16 sec)

  1. platforms/native/language-native/src/test/groovy/org/gradle/language/plugins/NativeBasePluginTest.groovy

            linkTask.linkedFile.get().asFile == projectDir.file("build/exe/windows/debug/test_app.exe")
    
            def installTask = project.tasks['installWindowsDebug']
            installTask instanceof InstallExecutable
            installTask.executableFile.get().asFile == linkTask.linkedFile.get().asFile
            installTask.installDirectory.get().asFile == projectDir.file("build/install/windows/debug")
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/NativeComponents.java

                public void execute(InstallExecutable installTask) {
                    installTask.setDescription("Installs a development image of " + binary.getDisplayName());
                    installTask.setGroup(LifecycleBasePlugin.BUILD_GROUP);
                    installTask.getToolChain().set(executable.getToolChain());
                    installTask.getTargetPlatform().set(binary.getTargetPlatform());
                    installTask.getExecutableFile().set(executable.getFile());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 11K bytes
    - Viewed (0)
  3. platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/internal/DefaultNativeTestSuiteBinarySpecTest.groovy

            tasks.run == null
        }
    
        def "returns install task when defined"() {
            when:
            final installTask = testUtil.task(InstallExecutable)
            tasks.add(installTask)
    
            then:
            tasks.link == null
            tasks.install == installTask
            tasks.run == null
        }
    
        def "returns run task when defined"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftCachingIntegrationTest.groovy

            when:
            withBuildCache().run compileTask(buildType)
    
            then:
            executedAndNotSkipped allCompileTasks
    
            when:
            withBuildCache().run 'clean', installTask(buildType)
    
            then:
            skipped allCompileTasks
            installation(installDir(buildType)).exec().out == app.expectedOutput
    
            where:
            buildType << ['Debug', 'Release']
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  5. platforms/software/plugins-distribution/src/main/java/org/gradle/api/distribution/plugins/DistributionPlugin.java

            project.getTasks().register(taskName, Sync.class, installTask -> {
                installTask.setDescription("Installs the project as a distribution as-is.");
                installTask.setGroup(DISTRIBUTION_GROUP);
                installTask.with(distribution.getContents());
                final Provider<String> installDirectoryName = project.provider(() -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 20 20:49:58 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  6. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/xctest/internal/DefaultSwiftXCTestExecutable.java

        private final Property<LinkExecutable> linkTask;
        private final Property<InstallExecutable> installTask;
        private final Property<Task> executableFileProducer;
        private final ConfigurableFileCollection files;
        private final RegularFileProperty debuggerExecutableFile;
    
        @Inject
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/plugins/NativeBinariesTestPlugin.java

                InstallExecutable installTask = (InstallExecutable) tasks.getInstall();
                RunTestExecutable runTask = (RunTestExecutable) tasks.getRun();
                runTask.getInputs().files(installTask.getOutputs().getFiles()).withPropertyName("installTask.outputs").withPathSensitivity(PathSensitivity.RELATIVE);
                runTask.setExecutable(installTask.getRunScriptFile().get().getAsFile().getPath());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  8. platforms/ide/ide-native/src/main/java/org/gradle/ide/visualstudio/internal/NativeSpecVisualStudioTargetBinary.java

        }
    
        @Override
        public File getOutputFile() {
            if (isExecutable()) {
                InstallExecutable installTask = getInstallTask();
                return new File(installTask.getInstallDirectory().get().getAsFile(), "lib/" + installTask.getExecutableFile().get().getAsFile().getName());
            } else {
                return binary.getPrimaryOutput();
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/plugins/CppBasePluginTest.groovy

            def install = project.tasks[installTask]
            install instanceof InstallExecutable
            install.installDirectory.get().asFile == projectDir.file("build/install/$exeDir")
    
            where:
            name        | linkTask        | installTask        | exeDir
            "main"      | "link"          | "install"          | "main/"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  10. platforms/jvm/plugins-application/src/main/java/org/gradle/api/plugins/ApplicationPlugin.java

        }
    
        private void configureInstallTask(ProviderFactory providers, TaskProvider<Sync> installTask, JavaApplication pluginExtension) {
            installTask.configure(task -> task.doFirst(
                "don't overwrite existing directories",
                new PreventDestinationOverwrite(
                    providers.provider(pluginExtension::getApplicationName),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top