Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,163 for applyTo (0.17 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingModelsWithDependencyResolutionIntegrationTest.groovy

                include("b")
                include("c")
            """
            file("a/build.gradle") << """
                plugins.apply(my.MyPlugin)
            """
            file("b/build.gradle") << """
                plugins.apply(my.MyPlugin)
            """
            file("c/build.gradle") << """
                plugins.apply(my.MyPlugin)
            """
    
            when:
            executer.withArguments(ENABLE_CLI)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativeBinariesIntegrationTest.groovy

        @ToBeFixedForConfigurationCache
        def "assemble executable from component with multiple language source sets"() {
            given:
            useMixedSources()
    
            when:
            buildFile << """
    apply plugin: "c"
    apply plugin: "cpp"
    
    model {
        components {
            main(NativeExecutableSpec) {
                sources {
                    c {
                        source.srcDir "src/test/c"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftIncrementalCompileIntegrationTest.groovy

            settingsFile << """
                rootProject.name = 'app'
                include 'unused'
            """
            buildFile << """
                apply plugin: 'swift-application'
    
                project(":unused") {
                    apply plugin: 'swift-library'
                }
            """
            file("unused/src/main/swift/Library.swift") << """
                public class Library {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  4. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishBasicIntegTest.groovy

            def localModule = javaLibrary(localM2Repo.module('group', 'root', '1.0'))
    
            and:
            settingsFile << "rootProject.name = 'root'"
            buildFile << """
                apply plugin: 'maven-publish'
                apply plugin: 'java'
    
                group = 'group'
                version = '1.0'
    
                publishing {
                    repositories {
                        maven { url "${mavenRepo.uri}" }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 14.9K bytes
    - Viewed (0)
  5. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishBasicIntegTest.groovy

            given:
            def javaLibrary = javaLibrary(ivyRepo.module('group', 'root', '1.0'))
    
            and:
            settingsFile << "rootProject.name = 'root'"
            buildFile << """
                apply plugin: 'ivy-publish'
                apply plugin: 'java'
    
                group = 'group'
                version = '1.0'
    
                publishing {
                    repositories {
                        ivy { url "${ivyRepo.uri}" }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  6. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaIntegrationTest.groovy

        }
    
        @Test
        @ToBeFixedForConfigurationCache
        void onlyAddsSourceDirsThatExistOnFileSystem() {
            runIdeaTask """
    apply plugin: "java"
    apply plugin: "groovy"
    apply plugin: "idea"
    
    sourceSets.main.java.srcDirs.each { it.mkdirs() }
    sourceSets.main.resources.srcDirs.each { it.mkdirs() }
    sourceSets.test.groovy.srcDirs.each { it.mkdirs() }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  7. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/core/BuildScanAutoApplyIntegrationTest.groovy

            then:
            pluginAppliedOnce()
        }
    
        def "does not automatically apply plugin when --scan is not provided on command-line"() {
            when:
            runBuildWithoutScanRequest()
    
            then:
            pluginNotApplied()
        }
    
        def "does not automatically apply plugin to subprojects"() {
            when:
            createDirs("a", "b")
            settingsFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 08:50:27 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryPublishingIntegrationTest.groovy

            def lib = new CppLib()
            assert !lib.publicHeaders.files.empty
            assert !lib.privateHeaders.files.empty
    
            given:
            buildFile << """
                apply plugin: 'cpp-library'
                apply plugin: 'maven-publish'
    
                group = 'some.group'
                version = '1.2'
                library {
                    baseName = 'test'
                }
                publishing {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 12:57:50 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

              @Override
              public Arithmetic apply(Arithmetic arithmetic) {
                return new ForwardingArithmetic(arithmetic);
              }
            });
        tester.testForwarding(
            ParameterTypesDifferent.class,
            new Function<ParameterTypesDifferent, ParameterTypesDifferent>() {
              @Override
              public ParameterTypesDifferent apply(ParameterTypesDifferent delegate) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/ComponentSelectionRulesProcessorTest.groovy

                new DefaultComponentSelectionRules.ComponentSelectionMatchingSpec(DefaultModuleIdentifier.newId(group, module))
            )
        }
    
        def apply(def metadataProvider) {
            processor.apply(componentSelection, rules, metadataProvider)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 15.7K bytes
    - Viewed (0)
Back to top