Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for otherlib (0.12 sec)

  1. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/ComponentBinariesIntegrationTest.groovy

            }
        }
    
        def "multiple components may have binary with the same given name"() {
            given:
            buildFile << """
                model {
                    components {
                        otherlib(CustomComponent) {
                            binaries {
                                main(CustomBinary)
                            }
                        }
                    }
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseClasspathIntegrationTest.groovy

        runtimeOnly "org.scala-lang:scala-swing:2.9.1"
        testImplementation "org.scala-lang:scala-dbc:2.9.0"
        testRuntimeOnly "other:lib:3.0"
    }
    """
    
            //then
            def libraries = classpath.libs
            assert libraries.size() == 1
            libraries[0].assertHasJar(otherLib)
            assert classpath.containers == [jreContainerPath, 'org.scala-ide.sdt.launching.SCALA_CONTAINER']
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 36.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformWithDependenciesIntegrationTest.groovy

    project(':common') {
        dependencies {
            implementation files("otherLib.jar")
        }
    }
    """
    
            when:
            executer.withArgument("--parallel")
            run "common:resolveGreen"
    
            then:
            output.count('Transforming') == 1
            output.contains('Single step transform received dependencies files [] for processing otherLib.jar')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 54.2K bytes
    - Viewed (0)
  4. tests/postgres_test.go

    	type Thing struct {
    		gorm.Model
    		SomeID  string
    		OtherID string
    		Data    string
    	}
    
    	DB.Migrator().DropTable(&Thing{})
    	DB.Migrator().CreateTable(&Thing{})
    	if err := DB.Exec("ALTER TABLE things ADD CONSTRAINT some_id_other_id_unique UNIQUE (some_id, other_id)").Error; err != nil {
    		t.Error(err)
    	}
    
    	thing := Thing{
    		SomeID:  "1234",
    		OtherID: "1234",
    		Data:    "something",
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Oct 08 09:16:32 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/VersionCatalogExtensionIntegrationTest.groovy

                        myLibs {
                            library("myLib", "org.gradle.test", "lib").version {
                                require "1.0"
                            }
                        }
                        otherLibs {
                            library("great", "org.gradle.test", "lib2").version {
                                require "1.1"
                            }
                        }
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 13:37:31 UTC 2024
    - 77.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultFilePropertyFactoryTest.groovy

            def otherDir = projectDir.file("sub-dir")
    
            expect:
            def dirVar = factory.newDirectoryProperty()
            def fileProvider = dirVar.asFile
    
            dirVar.set(new File("sub-dir"))
            dirVar.present
            dirVar.get().getAsFile() == otherDir
            fileProvider.present
            fileProvider.get() == otherDir
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r10rc1/PassingCommandLineArgumentsCrossVersionSpec.groovy

        def "can overwrite project dir via build arguments"() {
            given:
            file('otherDir').createDir()
            file('otherDir/build.gradle') << "assert projectDir.name.endsWith('otherDir')"
            file('otherDir/settings.gradle') << ''
    
            when:
            withConnection {
                it.newBuild().withArguments('-p', 'otherDir').run()
            }
    
            then:
            noExceptionThrown()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/AbstractPropertyLanguageInterOpIntegrationTest.groovy

                }
            """
            def otherDir = file("buildSrc/other")
            otherDir.file("build.gradle") << """
                plugins {
                    id("java-library")
                }
                dependencies {
                    api gradleApi()
                    implementation project(":plugin")
                }
            """
    
            otherDir.file("src/main/java/SomeOtherPlugin.java") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/PlatformNativeComponentReportIntegrationTest.groovy

                targetPlatform "windows"
            }
            anotherLib(NativeLibrarySpec) {
                binaries.withType(StaticLibraryBinarySpec) { buildable = false }
            }
        }
    }
    """
            when:
            succeeds "components"
    
            then:
            outputMatches """
    Native library 'anotherLib'
    ---------------------------
    
    Source sets
        C++ source 'anotherLib:cpp'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/local/model/ComponentFileArtifactIdentifierTest.groovy

            def componentId = new DummyComponentIdentifier()
            def otherId = new DummyComponentIdentifier()
    
            def id = new ComponentFileArtifactIdentifier(componentId, "one")
            def sameId = new ComponentFileArtifactIdentifier(componentId, "one")
            def differentComponent = new ComponentFileArtifactIdentifier(otherId, "one")
            def differentName = new ComponentFileArtifactIdentifier(componentId, "two")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:39 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top