Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for attribute (0.2 sec)

  1. build-logic/jvm/src/main/kotlin/gradlebuild.launchable-jar.gradle.kts

    fun Configuration.configureAsJarClasspath() {
        isCanBeResolved = true
        isCanBeConsumed = false
    
        attributes {
            attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage.JAVA_RUNTIME))
            attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category.LIBRARY))
            attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements.JAR))
        }
    }
    
    tasks.jar.configure {
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Feb 28 23:38:57 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleBuildDocumentationPlugin.java

            sourcesPath.attributes(a -> {
                a.attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage.class, Usage.JAVA_RUNTIME));
                a.attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category.class, Category.DOCUMENTATION));
                a.attribute(DocsType.DOCS_TYPE_ATTRIBUTE, objects.named(DocsType.class, "gradle-source-folders"));
            });
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 17 20:04:00 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexer.java

            }
    
            // attributes
            scanner.skip(WHITESPACE_WITH_EOL);
            while (!scanner.isEmpty() && scanner.lookingAt(ELEMENT_ATTRIBUTE)) {
                // attribute name
                scanner.mark();
                scanner.find(END_ATTRIBUTE_NAME);
                String attrName = scanner.region();
    
                // separator
                scanner.skip(ATTRIBUTE_SEPARATOR);
    
                // value
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7.1K bytes
    - Viewed (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

    import java.io.File
    import java.io.IOException
    import java.nio.file.FileVisitResult
    import java.nio.file.Files
    import java.nio.file.Path
    import java.nio.file.SimpleFileVisitor
    import java.nio.file.attribute.BasicFileAttributes
    import java.util.zip.ZipEntry
    import java.util.zip.ZipInputStream
    
    
    /**
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  5. build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt

    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.io.TempDir
    import java.nio.file.FileVisitResult
    import java.nio.file.Files
    import java.nio.file.Path
    import java.nio.file.SimpleFileVisitor
    import java.nio.file.attribute.BasicFileAttributes
    import java.util.jar.JarEntry
    import java.util.jar.JarOutputStream
    
    
    class PackageListGeneratorIntegrationTest {
    
        companion object {
            private
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  6. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

        attributes {
            attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage.JAVA_RUNTIME))
            attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category.LIBRARY))
            attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(libraryElements))
        }
        isCanBeResolved = true
        isCanBeConsumed = false
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  7. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

    }
    tasks.check {
        dependsOn(codeQuality)
    }
    
    val rules by configurations.creating {
        isVisible = false
        isCanBeConsumed = false
    
        attributes {
            attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements.RESOURCES))
        }
    }
    
    val groovyVersion = GroovySystem.getVersion()
    val isAtLeastGroovy4 = VersionNumber.parse(groovyVersion).major >= 4
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jan 30 10:26:21 GMT 2024
    - 6K bytes
    - Viewed (0)
  8. build-logic/buildquality/src/main/kotlin/gradlebuild.incubation-report.gradle.kts

        isVisible = false
        isCanBeResolved = false
        isCanBeConsumed = true
        attributes {
            attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage.JAVA_RUNTIME))
            attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category.DOCUMENTATION))
            attribute(DocsType.DOCS_TYPE_ATTRIBUTE, objects.named("incubation-report-$reportType"))
        }
        extendsFrom(configurations.implementation.get())
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/GradleModuleApiAttribute.kt

     * limitations under the License.
     */
    
    package gradlebuild.basics
    
    import org.gradle.api.attributes.Attribute
    
    
    enum class GradleModuleApiAttribute {
        API,
        IMPLEMENTATION;
    
        companion object {
            val attribute = Attribute.of(GradleModuleApiAttribute::class.java)
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 864 bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ExtraAttributeDoc.groovy

        ExtraAttributeDoc(Element titleCell, Element valueCell) {
            this.titleCell = titleCell
            this.valueCell = valueCell
        }
    
        @Override
        String toString() {
            return "attribute[key: $key, value: $valueCell.textContent]"
        }
    
        String getKey() {
            return titleCell.textContent
        }
    
        List<Node> getTitle() {
            return titleCell.childNodes.collect { it }
        }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.3K bytes
    - Viewed (0)
Back to top