- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 146 for sourceDir (0.13 sec)
-
utils/utils_windows_test.go
want: `C:/go/work/proj/gorm_alias/`, }, { file: `C:/go/work/proj/my.gorm.io/gorm@v1.2.3/utils/utils.go`, want: `C:/go/work/proj/my.gorm.io/gorm@v1.2.3/`, }, } for _, c := range cases { s := sourceDir(c.file) if s != c.want { t.Fatalf("%s: expected %s, got %s", c.file, c.want, s) } }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Nov 21 02:48:13 UTC 2022 - 715 bytes - Viewed (0) -
platforms/jvm/language-jvm/src/testFixtures/groovy/org/gradle/integtests/fixtures/jvm/IncrementalTestJvmComponent.groovy
abstract void changeSources(List<TestFile> testFiles) abstract void writeAdditionalSources(TestFile testFile) abstract TestFile createIgnoredFileInSources(TestFile sourceDir)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 970 bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/DefaultSourceIncludesResolver.java
File sourceDir = sourceFile.getParentFile(); if (includePaths.startsWith(sourceDir)) { // Source dir already at the start of the path, just use the include path return includePaths; } return new PrefixedIncludePath(toDir(sourceDir), includePaths); } private static abstract class IncludePath {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 24.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/ContinuousBuildProgressEventsCrossVersionSpec.groovy
launcher.addProgressListener(events) } def "client can receive appropriate logging and progress events for subsequent builds"() { when: def javaSrcFile = sourceDir.file("Thing.java") << 'public class Thing {}' then: runBuild { succeeds() receivedBuildEvents() waitBeforeModification javaSrcFile
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/scaladoc/ScalaDocRelocationIntegrationTest.groovy
buildScript(classes.buildScript()) } @Override protected void moveFilesAround() { Files.move(file("src/main/scala").toPath(), file("src/main/new-scala").toPath()) classes.sourceDir = 'src/main/new-scala' buildScript(classes.buildScript()) // Move scala library dependency around on disk executer.requireOwnGradleUserHomeDir() } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 01 23:46:06 UTC 2023 - 2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ContinuousBuildToolingApiSpecification.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 9.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/ContinuousBuildCancellationCrossVersionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/CompilePrecompiledScriptPluginPlugins.kt
"Precompiled script plugin plugins" ) @get:InputFiles @get:IgnoreEmptyDirectories @get:PathSensitive(PathSensitivity.RELATIVE) val sourceFiles: FileTree = sourceDirectorySet fun sourceDir(dir: Provider<Directory>) { sourceDirectorySet.srcDir(dir) } @get:Nested internal abstract val javaLauncher: Property<JavaLauncher> @get:Optional @get:Input
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 26 19:59:57 UTC 2023 - 4.2K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java
} public void copyTo(File target) { if (isDirectory()) { try { final Path targetDir = target.toPath(); final Path sourceDir = this.toPath(); Files.walkFileTree(sourceDir, EnumSet.of(FileVisitOption.FOLLOW_LINKS), Integer.MAX_VALUE, new SimpleFileVisitor<Path>() { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 18:31:52 UTC 2024 - 30.3K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/more_about_tasks.adoc
} abstract class MyCopyTask : DefaultTask() { // <3> @TaskAction fun copyFiles() { val sourceDir = File("sourceDir") val destinationDir = File("destinationDir") sourceDir.listFiles()?.forEach { file -> if (file.isFile && file.extension == "txt") { file.copyTo(File(destinationDir, file.name)) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Mar 23 22:37:03 UTC 2024 - 28.5K bytes - Viewed (0)