- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 4,686 for applyTo (0.12 sec)
-
platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeSwiftExternalSourceDependenciesIntegrationTest.groovy
buildFile << """ apply plugin: 'swift-library' apply plugin: 'xcode' """ fixture.library.writeToProject(it) } def commit = repo.commit('initial commit') and: singleProjectBuild("app") { buildFile << """ apply plugin: 'swift-application' apply plugin: 'xcode'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 13.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/PluginApplicationErrorIntegrationTest.groovy
failure.assertHasCause("Failed to apply plugin 'broken'") failure.assertHasCause("throwing plugin") } def "reports failure to apply plugin by type"() { buildFile << ''' apply plugin: BrokenPlugin class BrokenPlugin implements Plugin<Project> { void apply(Project target) { throw new Exception('throwing plugin') } } ''' when: fails()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 01 03:07:53 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/EvaluationContextTest.groovy
def "re-evaluating the owner in #evaluator throws exception when intermediate owner is involved"() { def otherOwner = createOwner() when: evaluator.apply(owner) { evaluator.apply(otherOwner) { evaluator.apply(this.owner) {} } } then: EvaluationContext.CircularEvaluationException ex = thrown()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 15 20:21:33 UTC 2023 - 8.1K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/swiftpm/plugins/SwiftPackageManagerExportPluginTest.groovy
project.pluginManager.apply(SwiftPackageManagerExportPlugin) project.pluginManager.apply("swift-application") lib1Project.pluginManager.apply("swift-library") lib2Project.pluginManager.apply("swift-library") lib3Project.pluginManager.apply("swift-library") project.application.sourceCompatibility = SwiftVersion.SWIFT3
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 10.9K bytes - Viewed (0) -
platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaJavaLanguageSettingsIntegrationTest.groovy
configure(project(':subprojectA')) { apply plugin: 'java' apply plugin: 'idea' java.targetCompatibility = '1.6' } configure(project(':subprojectB')) { apply plugin: 'java' apply plugin: 'idea' java.targetCompatibility = '1.7' } configure(project(':subprojectC')) { apply plugin: 'java' apply plugin: 'idea' java.targetCompatibility = '1.8' }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 10.8K bytes - Viewed (0) -
platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeMultipleProjectIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 26 03:57:28 UTC 2023 - 7.5K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpModelIntegrationTest.groovy
def build = file('build.gradle') build << """ project(':impl') { apply plugin: 'java' apply plugin: 'war' apply plugin: 'eclipse-wtp' dependencies { implementation project(':contrib') } eclipse.project.name = 'cool-impl' } project(':contrib') { apply plugin: 'java' apply plugin: 'eclipse-wtp' //should not have war nor ear applied
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 16.3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/RuleSourceApplicationTest.groovy
} def "can apply a rule source by id"() { when: def project = buildProject() project.apply plugin: 'custom-rule-source' then: project.modelRegistry.realize("foo", String) == "bar" } def "can apply a rule source by type"() { when: def project = buildProject() project.apply type: CustomRuleSource then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 21:54:27 UTC 2024 - 3.3K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/idea/model/IdeaModuleTest.groovy
given: project.getPlugins().apply(IdeaPlugin) project.getPlugins().apply(JavaPlugin) moduleProject.getPlugins().apply(JavaPlugin) moduleProject.sourceCompatibility = 1.5 project.sourceCompatibility = 1.5 def iml = Mock(IdeaModuleIml) def module = TestUtil.newInstance(IdeaModule, moduleProject, iml) expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 01 11:07:39 UTC 2023 - 2.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PredicatesTest.java
assertFalse(isNumber.apply(null)); } @GwtIncompatible // Predicates.instanceOf public void testIsInstanceOf_interface() { Predicate<@Nullable Object> isComparable = Predicates.instanceOf(Comparable.class); assertTrue(isComparable.apply(1)); assertTrue(isComparable.apply(2.0f)); assertTrue(isComparable.apply("")); assertFalse(isComparable.apply(null)); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 32.4K bytes - Viewed (0)