Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 728 for convention (0.08 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleReleaseNotesPlugin.java

                task.getInputEncoding().convention(Charset.defaultCharset().name());
                task.getOutputEncoding().convention(Charset.defaultCharset().name());
    
                task.getMarkdownFile().convention(extension.getReleaseNotes().getMarkdownFile());
                task.getDestinationFile().convention(extension.getStagingRoot().file("release-notes/raw.html"));
            });
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 26 08:15:16 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. architecture/standards/0006-use-of-provider-apis-in-gradle.md

    When defining conventions for a property, there are largely three approaches:
    1. Do not set a convention at all
    2. Set a convention in a plugin
    3. Set a convention in a constructor
    
    Most properties should have a convention set, so (1) can be treated as a rare case where a value must be provided by a user.
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 15 20:00:57 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

                userManual.getRoot().convention(extension.getSourceRoot().dir("userguide"));
                userManual.getStagingRoot().convention(extension.getStagingRoot().dir("usermanual"));
                // TODO: These should be generated too
                userManual.getSnippets().convention(layout.getProjectDirectory().dir("src/snippets"));
                userManual.getSamples().convention(layout.getProjectDirectory().dir("src/samples"));
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Mar 01 05:46:51 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/CaseFormat.java

        }
      },
    
      /** Java variable naming convention, e.g., "lowerCamel". */
      LOWER_CAMEL(CharMatcher.inRange('A', 'Z'), "") {
        @Override
        String normalizeWord(String word) {
          return firstCharOnlyToUpper(word);
        }
    
        @Override
        String normalizeFirstWord(String word) {
          return Ascii.toLowerCase(word);
        }
      },
    
      /** Java and C++ class naming convention, e.g., "UpperCamel". */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  5. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

        val isSnapshot = !finalRelease.isPresent && !rcNumber.isPresent && !milestoneNumber.isPresent
    
        moduleIdentity.version.convention(GradleVersion.version(versionNumber))
        moduleIdentity.snapshot.convention(isSnapshot)
        moduleIdentity.buildTimestamp.convention(buildTimestamp)
        moduleIdentity.promotionBuild.convention(isPromotionBuild)
    
        moduleIdentity.releasedVersions = provider {
            ReleasedVersionsDetails(
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/CaseFormat.java

        }
      },
    
      /** Java variable naming convention, e.g., "lowerCamel". */
      LOWER_CAMEL(CharMatcher.inRange('A', 'Z'), "") {
        @Override
        String normalizeWord(String word) {
          return firstCharOnlyToUpper(word);
        }
    
        @Override
        String normalizeFirstWord(String word) {
          return Ascii.toLowerCase(word);
        }
      },
    
      /** Java and C++ class naming convention, e.g., "UpperCamel". */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTask.java

        public JapicmpTask() {
            getFailOnModification().convention(false);
            getFailOnSourceIncompatibility().convention(false);
            getIgnoreMissingClasses().convention(false);
            getIncludeSynthetic().convention(false);
            getOnlyBinaryIncompatibleModified().convention(false);
            getOnlyModified().convention(false);
            getAccessModifier().convention("public");
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 26 10:58:32 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleBuildDocumentationPlugin.java

                task.into(extension.getDocumentationRenderedRoot());
            });
    
            extension.getSourceRoot().convention(layout.getProjectDirectory().dir("src/docs"));
            extension.getDocumentationRenderedRoot().convention(layout.getBuildDirectory().dir("docs"));
            extension.getStagingRoot().convention(layout.getBuildDirectory().dir("working"));
    
            ConfigurableFileTree css = objects.fileTree();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 17 20:04:00 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

        @get:Input
        abstract val excludes: ListProperty<String>
    
        @get:Input
        abstract val includes: ListProperty<String>
    
        init {
            excludes.convention(DEFAULT_EXCLUDES)
            includes.convention(DEFAULT_INCLUDES)
        }
    
        @TaskAction
        fun generate() {
            IoActions.writeTextFile(outputFile.asFile.get(), object : ErroringAction<BufferedWriter>() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 19:14:16 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. build-logic/build-init-samples/src/main/kotlin/gradlebuild/generate-samples.gradle.kts

        val generateSampleTask = project.tasks.register<GenerateSample>("generateSample${sampleName.capitalize()}") {
            readmeTemplates.convention(layout.projectDirectory.dir("src/samples/readme-templates"))
            target.convention(layout.buildDirectory.dir("generated-samples/$buildInitType" + if (modularizationOption.isMulti()) "-with-libraries" else ""))
            type = buildInitType
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top