Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for insert (0.16 sec)

  1. .editorconfig

    root = true
    
    [*]
    # Change these settings to your own preference
    indent_style = space
    indent_size = 4
    
    # We recommend you to keep these unchanged
    end_of_line = lf
    charset = utf-8
    trim_trailing_whitespace = true
    insert_final_newline = true
    
    # Markdown files sometimes need trailing whitespaces.
    [*.md]
    trim_trailing_whitespace = false
    
    [*.{yml,yaml}]
    indent_size = 2
    
    [gradle/verification-metadata.xml]
    indent_size = 3
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Oct 02 11:48:19 GMT 2023
    - 643 bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java

                    builder.append(line);
                    builder.append("\n");
                }
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
            input.insert(pos, builder.toString().trim());
        }
    
        public char getFirst() {
            return input.charAt(pos);
        }
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.3K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

                .withArguments(args)
                .forwardOutput()
        }
    
        private void assertNoDeadLinks() {
            assert linkErrors.exists()
            assert linkErrors.text.stripTrailing().endsWith('All clear!')
        }
    
        private void assertFoundDeadLinks(Collection<DeadLink> deadLinks) {
            assert linkErrors.exists()
    
            def lines = linkErrors.readLines()
            deadLinks.each { deadLink ->
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Nov 28 22:01:54 GMT 2022
    - 7.8K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy

        ClassPool instanceScopedPool = new ClassPool()
    
        JApiClass apiClass = Stub(JApiClass)
    
        def setup() {
            instanceScopedPool.appendSystemPath()
        }
    
        void noViolation(def rule) {
            assert rule.maybeViolation(apiClass) == null
        }
    
        Map getInitializationParams() {
            return [acceptedApiChanges: [:],
                publicApiPatterns: ['gradlebuild[.]binarycompatibility[.]rules.[^.]+'],
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2K bytes
    - Viewed (0)
  5. .github/workflows/CheckBadMerge.groovy

            return new ExecResult(stderr: stderr, stdout: stdout, returnCode: returnCode)
        }
    
        static String getStdout(String command) {
            ExecResult execResult = exec(command)
    
            assert execResult.returnCode == 0: "$command failed with return code: $execResult"
            return execResult.stdout
        }
    
        static Future<String> readStreamAsync(InputStream inputStream) {
    Groovy
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 19 10:35:44 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  6. build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/tasks/GenerateSample.kt

    import org.gradle.buildinit.plugins.internal.ProjectLayoutSetupRegistry
    import org.gradle.buildinit.plugins.internal.modifiers.ModularizationOption
    import org.gradle.work.DisableCachingByDefault
    import javax.inject.Inject
    
    
    @DisableCachingByDefault(because = "Not worth caching")
    abstract class GenerateSample : DefaultTask() {
    
        @get:Input
        abstract val type: Property<String>
    
        @get:Input
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Jul 07 13:12:26 GMT 2021
    - 2K bytes
    - Viewed (0)
  7. build-logic/jvm/src/main/kotlin/gradlebuild/kotlin/tasks/ParameterNamesIndex.kt

    import org.gradle.api.tasks.TaskAction
    
    import org.gradle.internal.classloader.ClassLoaderFactory
    import org.gradle.internal.classpath.DefaultClassPath
    
    import java.io.File
    import java.net.URLClassLoader
    import javax.inject.Inject
    
    
    @CacheableTask
    abstract class ParameterNamesIndex : DefaultTask() {
    
        @get:InputFiles
        @get:PathSensitive(PathSensitivity.RELATIVE)
        abstract val sources: ConfigurableFileCollection
    
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4K bytes
    - Viewed (0)
  8. .idea/codeStyles/Project.xml

          <option name="FOR_BRACE_FORCE" value="3" />
          <indentOptions>
            <option name="CONTINUATION_INDENT_SIZE" value="4" />
          </indentOptions>
        </codeStyleSettings>
        <codeStyleSettings language="JavaScript">
          <indentOptions>
            <option name="INDENT_SIZE" value="2" />
            <option name="CONTINUATION_INDENT_SIZE" value="2" />
            <option name="TAB_SIZE" value="2" />
          </indentOptions>
    XML
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Jul 31 14:47:08 GMT 2023
    - 3.4K bytes
    - Viewed (1)
  9. build-logic/buildquality/src/main/kotlin/gradlebuild.verify-build-environment.gradle.kts

     * limitations under the License.
     */
    
    import java.nio.charset.Charset
    
    tasks.register("verifyIsProductionBuildEnvironment") {
        doLast {
            val systemCharset = Charset.defaultCharset().name()
            assert(systemCharset == "UTF-8") {
                "Platform encoding must be UTF-8. Is currently $systemCharset. Set -Dfile.encoding=UTF-8"
            }
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Feb 01 09:48:30 GMT 2021
    - 941 bytes
    - Viewed (0)
  10. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

            config = configFile("codenarc-integtests.xml")
        }
    }
    
    val SourceSet.allGroovy: SourceDirectorySet
        get() = the<GroovySourceDirectorySet>()
    
    abstract class CodeNarcRule @Inject constructor(
        private val groovyVersion: String
    ) : ComponentMetadataRule {
        override fun execute(context: ComponentMetadataContext) {
            context.details.allVariants {
                withDependencies {
    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)
Back to top