Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for hasPath (0.15 sec)

  1. platforms/documentation/docs/src/snippets/dependencyManagement/definingUsingConfigurations-custom/kotlin/build.gradle.kts

    repositories {
        mavenCentral()
    }
    
    dependencies {
        jasper("org.apache.tomcat.embed:tomcat-embed-jasper:9.0.2")
    }
    
    tasks.register("preCompileJsps") {
        val jasperClasspath = jasper.asPath
        val projectLayout = layout
        doLast {
            ant.withGroovyBuilder {
                "taskdef"("classname" to "org.apache.jasper.JspC",
                          "name" to "jasper",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 791 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/ant/useExternalAntTaskWithConfig/kotlin/build.gradle.kts

    tasks.register("check") {
        doLast {
            ant.withGroovyBuilder {
                "taskdef"("name" to "pmd",
                          "classname" to "net.sourceforge.pmd.ant.PMDTask",
                          "classpath" to pmd.asPath)
                "pmd"("shortFilenames" to true,
                      "failonruleviolation" to true,
                      "rulesetfiles" to file("pmd-rules.xml").toURI().toString()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 800 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/files/fileCollections/kotlin/build.gradle.kts

            }
    
            // Convert the collection to various types
            val set: Set<File> = collection.files
            val list: List<File> = collection.toList()
            val path: String = collection.asPath
            val file: File = collection.singleFile
    
            // Add and subtract collections
            val union = collection + projectLayout.files("src/file2.txt")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 15 13:55:00 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioCppApplicationProjectIntegrationTest.groovy

        CppSourceElement getComponentUnderTest() {
            return new CppApp()
        }
    
        @Override
        String getBuildFile(VariantContext variantContext) {
            return executableName("build/install/main/${variantContext.asPath}lib/${rootProjectName}")
        }
    
        @Override
        String getIdeBuildTaskName(String variant) {
            return "install${variant.capitalize()}"
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioCppSharedLibraryLinkageProjectIntegrationTest.groovy

        CppSourceElement getComponentUnderTest() {
            return new CppLib()
        }
    
        @Override
        String getBuildFile(VariantContext variantContext) {
            return sharedLibraryName("build/lib/main/${variantContext.asPath}${stripped(variantContext.asVariantName)}${rootProjectName}")
        }
    
        @Override
        String getIdeBuildTaskName(String variant) {
            return "link${variant.capitalize()}"
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. src/internal/trace/testdata/cmd/gotraceeventstats/main.go

    func encodedSize(e *raw.Event) int {
    	size := 1
    	var buf [binary.MaxVarintLen64]byte
    	for _, arg := range e.Args {
    		size += binary.PutUvarint(buf[:], arg)
    	}
    	spec := e.Version.Specs()[e.Ev]
    	if spec.HasData {
    		size += binary.PutUvarint(buf[:], uint64(len(e.Data)))
    		size += len(e.Data)
    	}
    	return size
    }
    
    type countingReader struct {
    	io.Reader
    	bytesRead int
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:29 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. src/internal/trace/raw/reader.go

    			frame, err := r.readArgs(4)
    			if err != nil {
    				return Event{}, err
    			}
    			args = append(args, frame...)
    		}
    	}
    	var data []byte
    	if spec.HasData {
    		data, err = r.readData()
    		if err != nil {
    			return Event{}, err
    		}
    	}
    	return Event{
    		Version: r.v,
    		Ev:      ev,
    		Args:    args,
    		Data:    data,
    	}, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/files/fileCollections/groovy/build.gradle

            }
    
            // Convert the collection to various types
            Set set = collection.files
            Set set2 = collection as Set
            List list = collection as List
            String path = collection.asPath
            File file = collection.singleFile
    
            // Add and subtract collections
            def union = collection + projectLayout.files('src/file2.txt')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 15 13:55:00 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. src/internal/trace/raw/doc.go

    within. Note: an explicit argument for the length is elided, because it's
    just the length of the unquoted string.
    
    For example:
    
    	String id=5
    		data="hello world\x00"
    
    These events are identified in their spec by the HasData flag.
    
    The second special case consists of stack events. These events are identified
    by the IsStack flag. These events also have a trailing unsigned integer argument
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/GUtilTest.groovy

     */
    package org.gradle.util.internal
    
    import spock.lang.Specification
    
    import java.nio.CharBuffer
    
    import static org.gradle.util.internal.GUtil.addToCollection
    import static org.gradle.util.internal.GUtil.asPath
    import static org.gradle.util.internal.GUtil.collectionize
    import static org.gradle.util.internal.GUtil.endsWith
    import static org.gradle.util.internal.GUtil.flatten
    import static org.gradle.util.internal.GUtil.flattenElements
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top