- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 356 for createRule (0.26 sec)
-
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/integtests/IncrementalJavaProjectBuildIntegrationTest.groovy
file('src/main/resources/org/gradle/resource.txt').createFile() executer.withTasks('classes').run() file('build/resources/main').assertHasDescendants('org/gradle/resource.txt') file('src/main/resources/org/gradle/resource.txt').assertIsFile().delete() file('src/main/resources/org/gradle/resource2.txt').createFile() executer.withTasks('classes').run()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 22 20:01:36 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/DefaultSharedLibraryBinarySpecTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.8K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/tasks/CppCompileTest.groovy
pch.includeString >> "header" pch.prefixHeaderFile >> temporaryFolder.file("prefixHeader").createFile() pch.objectFile >> temporaryFolder.file("pchObjectFile").createFile() pch.pchObjects >> TestFiles.empty() 1 * cppCompiler.execute({ CppCompileSpec spec -> assert spec.sourceFiles*.name == ["sourceFile"]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/ChmodBenchmark.java
boolean created = file.createNewFile(); blackhole.consume(created); } @Benchmark public void createFileJava7(Blackhole blackhole) throws IOException { Path file = Files.createFile(tempDirPath.resolve("file-" + counter.incrementAndGet())); blackhole.consume(file); } @Benchmark public void createFileJava6SetDefaultPermission(Blackhole blackhole) throws IOException {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 12:13:32 UTC 2024 - 7.7K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/SmokeContinuousIntegrationTest.groovy
} def "detects changes in filtered file tree inputs"() { def sources = file("sources").createDir() def excludedFile = sources.file("sub/some/excluded").createFile() def includedFile = sources.file("sub/some/included.txt").createFile() buildFile << taskOnlyIncludingTxtFiles when: succeeds("myTask") then: outputContains("includedFiles: 1")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 18.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m8/ConsumingStandardInputCrossVersionSpec.groovy
given: file('build.gradle') << """ task createFile { doLast { file('input.txt') << System.in.text } } """ when: withConnection { ProjectConnection connection -> def build = connection.newBuild() build.standardInput = new ByteArrayInputStream("Hello world!".bytes) build.forTasks('createFile') build.run() } then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/integTest/groovy/org/gradle/kotlin/dsl/KotlinScriptCacheCleanupIntegrationTest.groovy
TestFile outdatedScriptCache = scriptCacheDir.file('7c8e05b2aa9d61f6b8422a683803c455').tap { assert !exists() file('classes/Program.class').createFile() } TestFile gcFile = kotlinDslWorkspace.file('gc.properties') gcFile.createFile().lastModified = daysAgo(8) writeJournalInceptionTimestamp(daysAgo(8)) writeLastFileAccessTimeToJournal(outdatedScriptCache, daysAgo(16)) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/SettingsPluginIntegrationSpec.groovy
then: succeeds(':moduleA:help') } def "can apply script with relative path"() { setup: testDirectory.createFile("settings/somePath/settingsPlugin.gradle") << "apply from: 'path2/settings.gradle'"; testDirectory.createFile("settings/somePath/path2/settings.gradle") << "include 'moduleA'"; createDirs("moduleA") when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/SymlinkFileSystemWatchingIntegrationTest.groovy
then: skipped(":myTask") } @Issue("https://github.com/gradle/gradle/issues/11851") def "changes to #description are detected"() { file(fileToChange).createFile() file(linkSource).createLink(file(linkTarget)) buildFile << """ task myTask { def outputFile = file("build/output.txt") inputs.${inputDeclaration}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 13:50:33 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/native/tooling-native/src/crossVersionTest/groovy/org/gradle/language/cpp/tooling/r410/CppModelCrossVersionSpec.groovy
""" buildFile << """ apply plugin: 'cpp-application' """ def headerDir = file('src/main/headers') def src1 = file('src/main/cpp/app.cpp').createFile() def src2 = file('src/main/cpp/app-impl.cpp').createFile() when: def project = withConnection { connection -> connection.getModel(CppProject.class) } then: project.projectIdentifier.projectPath == ':'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 25.4K bytes - Viewed (0)