Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for buildFlags (0.2 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/InitScriptExecutionIntegrationTest.groovy

    initscript {
        dependencies { classpath(files("repo/test-1.3.jar")) }
    }
    org.gradle.test.BuildClass()
    '''
            TestFile initScript2 = file('init2.init.gradle.kts')
            initScript2 << '''
    try {
        Class.forName("org.gradle.test.BuildClass")
    } catch (e: ClassNotFoundException) {
        println("BuildClass not found as expected.")
    }
    '''
    
            buildFile << 'task doStuff'
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. testing/integ-test/src/integTest/groovy/org/gradle/integtests/BuildScriptClasspathIntegrationTest.java

            testFile("buildSrc/src/main/java/BuildClass.java").writelns("public class BuildClass extends org.gradle.test.DepClass { }");
            testFile("build.gradle").writelns("new BuildClass()");
            inTestDirectory().withTasks("help").run();
        }
    
        @Test
        public void buildSrcProjectCanReferToSourceOutsideBuildSrcDir() {
            testFile("gradle/src/BuildClass.java").writelns("public class BuildClass { }");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/ExternalScriptExecutionIntegrationTest.groovy

    '''
        }
    
        private def createExternalJar() {
            ArtifactBuilder builder = artifactBuilder()
            builder.sourceFile('org/gradle/test/BuildClass.java') << '''
                package org.gradle.test;
                public class BuildClass { }
    '''
            builder.buildJar(testFile("repo/test-1.3.jar"))
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. src/cmd/go/internal/list/context.go

    		GOARCH:        c.GOARCH,
    		GOOS:          c.GOOS,
    		GOROOT:        c.GOROOT,
    		GOPATH:        c.GOPATH,
    		CgoEnabled:    c.CgoEnabled,
    		UseAllFiles:   c.UseAllFiles,
    		Compiler:      c.Compiler,
    		BuildTags:     c.BuildTags,
    		ToolTags:      c.ToolTags,
    		ReleaseTags:   c.ReleaseTags,
    		InstallSuffix: c.InstallSuffix,
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 29 21:56:16 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/SettingsScriptExecutionIntegrationTest.groovy

            '''
        }
    
        private def createExternalJar() {
            ArtifactBuilder builder = artifactBuilder();
            builder.sourceFile('org/gradle/test/BuildClass.java') << '''
                package org.gradle.test;
                public class BuildClass { }
            '''
            builder.buildJar(file("repo/test-1.3.jar"))
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-groovy/src/integTest/groovy/org/gradle/integtests/IncrementalGroovyProjectBuildIntegrationTest.groovy

        def "does not rebuild Groovydoc if source has not changed"() {
            def indexFile = file("build/docs/groovydoc/index.html");
            file("src/main/groovy/BuildClass.java") << 'public class BuildClass { }'
            buildFile << '''
                apply plugin: 'groovy'
                dependencies { implementation localGroovy() }
    
                groovydoc {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 20:01:36 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/integtests/IncrementalJavaProjectBuildIntegrationTest.groovy

            // Use own home dir so we don't blast the shared one when we run with -C rebuild
            executer.requireOwnGradleUserHomeDir()
    
            file("src/main/java/BuildClass.java") << 'public class BuildClass { }'
            file("build.gradle") << "apply plugin: 'java'"
            file("settings.gradle") << "rootProject.name = 'project'"
    
            executer.withTasks("jar").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)
  8. src/cmd/go/testdata/script/vet_flags.txt

    env GO111MODULE=on
    
    # Issue 35837: "go vet -<analyzer> <std package>" should use the requested
    # analyzers, not the default analyzers for 'go test'.
    go vet -n -buildtags=false runtime
    stderr '-buildtags=false'
    ! stderr '-unsafeptr=false'
    
    # Issue 37030: "go vet <std package>" without other flags should disable the
    # unsafeptr check by default.
    go vet -n runtime
    stderr '-unsafeptr=false'
    ! stderr '-unreachable=false'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 21 14:58:44 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. src/cmd/go/internal/test/flagdefs.go

    	"appends":          true,
    	"asmdecl":          true,
    	"assign":           true,
    	"atomic":           true,
    	"bool":             true,
    	"bools":            true,
    	"buildtag":         true,
    	"buildtags":        true,
    	"cgocall":          true,
    	"composites":       true,
    	"copylocks":        true,
    	"defers":           true,
    	"directive":        true,
    	"errorsas":         true,
    	"framepointer":     true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. src/cmd/go/internal/imports/tags.go

    		cfg.BuildContext.GOOS:     true,
    		cfg.BuildContext.GOARCH:   true,
    		cfg.BuildContext.Compiler: true,
    	}
    	if cfg.BuildContext.CgoEnabled {
    		tags["cgo"] = true
    	}
    	for _, tag := range cfg.BuildContext.BuildTags {
    		tags[tag] = true
    	}
    	for _, tag := range cfg.BuildContext.ToolTags {
    		tags[tag] = true
    	}
    	for _, tag := range cfg.BuildContext.ReleaseTags {
    		tags[tag] = true
    	}
    	return tags
    }
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 26 17:43:59 UTC 2022
    - 1.3K bytes
    - Viewed (0)
Back to top