Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 273 for srcDir (0.23 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/AbstractCrossTaskIncrementalCompilationIntegrationTest.groovy

            //new separate compile task (compileIntegTest${language.captalizedName}) depends on class from the extra project
            file("impl/build.gradle") << """
                sourceSets { integTest.${language.name}.srcDir "src/integTest/${language.name}" }
                dependencies { integTestImplementation project(":other") }
                dependencies { integTestImplementation localGroovy() }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:55:46 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryCompilationIntegrationTest.groovy

            given:
            subproject('a') {
                'build.gradle'("""
                    apply plugin: 'java'
                    sourceSets {
                        foo {
                            java.srcDir 'src/foo/java'
                        }
                    }
                    dependencies {
                        fooImplementation project(':b')
                    }
                """)
                src {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 13:02:41 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/plugins/PrecompiledGroovyPluginsIntegrationTest.groovy

            given:
            enablePrecompiledPluginsInBuildSrc()
            file("buildSrc/src/main/groovy/plugins/foo.gradle") << """
                sourceSets.main.java.srcDir 'src'
            """
    
            file("src/Foo.java") << """
                public class Foo { }
            """
    
            buildFile << """
                plugins {
                    id 'java'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 28.7K bytes
    - Viewed (0)
  4. platforms/jvm/scala/src/main/java/org/gradle/api/plugins/scala/ScalaBasePlugin.java

                ScalaSourceDirectorySet scalaSource = getScalaSourceDirectorySet(sourceSet);
                sourceSet.getExtensions().add(ScalaSourceDirectorySet.class, "scala", scalaSource);
                scalaSource.srcDir(project.file("src/" + sourceSet.getName() + "/scala"));
    
                // Explicitly capture only a FileCollection in the lambda below for compatibility with configuration-cache.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 10:39:12 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  5. src/cmd/cgo/doc.go

    When the cgo directives are parsed, any occurrence of the string ${SRCDIR}
    will be replaced by the absolute path to the directory containing the source
    file. This allows pre-compiled static libraries to be included in the package
    directory and linked properly.
    For example if package foo is in the directory /go/src/foo:
    
    	// #cgo LDFLAGS: -L${SRCDIR}/libs -lfoo
    
    Will be expanded to:
    
    	// #cgo LDFLAGS: -L/go/src/foo/libs -lfoo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativePreCompiledHeaderIntegrationTest.groovy

                model {
                    components {
                        hello {
                            sources.all {
                                exportedHeaders {
                                    srcDir "${safeHeaderDirPath}"
                                }
                            }
                        }
                    }
                }
            """
    
            then:
            args("--info")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheJavaIntegrationTest.groovy

            given:
            settingsFile << """
                rootProject.name = 'somelib'
            """
            buildFile << """
                plugins { id 'java' }
    
                sourceSets.main.java.srcDir("src/common/java")
            """
            file("src/common/java/OtherThing.java") << """
                class OtherThing {
                }
            """
            file("src/main/java/Thing.java") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/SnapshotTaskInputsOperationIntegrationTest.groovy

            }
    
            createDir("b") {
                file("build.gradle") << """
                    plugins { id 'java' }
                    dependencies { implementation project(":a") }
                    sourceSets.main.java.srcDir "other"
                """
                dir("src/main/java") {
                    file("Thing.java") << "class Thing {}"
                }
                dir("other") {
                    file("Other.java") << "class Other {}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  9. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelMultiProjectIntegrationTest.groovy

                apply plugin: 'cpp'
                model {
                    repositories {
                        libs(PrebuiltLibraries) {
                            hello {
                                headers.srcDir "libs/src/hello/headers"
                            }
                        }
                    }
                }
            """
    
            when:
            succeeds '--parallel', "visualStudio"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 26K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy

            buildFile.text = simpleJavaProject()
    
            def classesDir = 'file("build/classes/moreTests")'
            buildFile << """
                sourceSets {
                    moreTests {
                        java.srcDir "src/test"
                        ${destinationDirectoryCode(classesDir)}
                        compileClasspath = compileClasspath + sourceSets.test.compileClasspath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top