- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 1,796 for buildFile (0.91 sec)
-
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyIntegrationTest.groovy
import spock.lang.Issue class PropertyIntegrationTest extends AbstractIntegrationSpec { def "can use property as task input"() { given: taskTypeWritesPropertyValueToFile() buildFile << """ task thing(type: SomeTask) { prop = providers.systemProperty('prop') outputFile = layout.buildDirectory.file("out.txt") } """ when: executer.withArgument("-Dprop=123")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 30.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/IvySpecificComponentMetadataRulesIntegrationTest.groovy
def setup() { buildFile << """ dependencies { conf 'org.test:projectA:1.0' } task resolve(type: Sync) { from configurations.conf into 'libs' } """ new ResolveTestFixture(buildFile).addDefaultVariantDerivationStrategy() } def "can access Ivy metadata"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 11.3K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonLifecycleTest.groovy
buildFile << """ task runInWorker1(type: WorkerTask) { isolationMode = 'processIsolation' } task runInWorker2(type: WorkerTask) { isolationMode = 'processIsolation' } """ when: succeeds "runInWorker1" then: buildFile << """ task someNewTask
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 6.4K bytes - Viewed (0) -
platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/SwiftXCTestIntegrationTest.groovy
settingsFile << "rootProject.name = '${lib.projectName}'" buildFile << "apply plugin: 'swift-library'" lib.main.writeToSourceDir(file("Sources")) lib.test.writeToSourceDir(file("Tests")) file("src/main/swift/broken.swift") << "ignore me!" file("src/test/swift/broken.swift") << "ignore me!" and: buildFile << """ library { source.from 'Sources'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 20.8K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 20:20:39 UTC 2024 - 39.6K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/GradleImplDepsPublishingIntegrationTest.groovy
def "module metadata generated by Maven publish plugin does not contain reference to Gradle modules for a published plugin"() { given: buildFile << testablePluginProject() buildFile << """ apply plugin: 'maven-publish' publishing { publications { mavenJava(MavenPublication) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/AbstractLockingIntegrationTest.groovy
def lockfileFixture = new LockfileFixture(testDirectory: testDirectory) ResolveTestFixture resolve def setup() { settingsFile << "rootProject.name = 'depLock'" resolve = new ResolveTestFixture(buildFile, "lockedConf") resolve.prepare() resolve.addDefaultVariantDerivationStrategy() } abstract LockMode lockMode()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 02:50:41 UTC 2024 - 19.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceIntegrationTest.groovy
def "does nag when service is used indirectly via another service even if task declares service reference and feature preview is enabled"() { given: serviceImplementation() buildFile """ abstract class WrapperService implements ${BuildService.name}<${BuildServiceParameters.None.name}> { @${ServiceReference.name}('counter')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 19:15:46 UTC 2024 - 61K bytes - Viewed (0) -
platforms/software/resources-gcs/src/integTest/groovy/org/gradle/integtests/resource/gcs/maven/MavenGcsSnapshotRepoIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 4.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/file/FileResolutionIntegrationTest.groovy
def "file conversion works with java.nio.file.Path"() { buildFile """ java.nio.file.Path fAsPath = buildDir.toPath().resolve('testdir').toAbsolutePath() def f = file(fAsPath) assert f == fAsPath.toFile() """ expect: succeeds() } def "file conversion works with Provider of supported types"() { buildFile << """ def provider = project.provider { $expression } def f = file(provider)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 10 19:24:20 UTC 2024 - 5K bytes - Viewed (0)