Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 126 for sources (0.19 sec)

  1. build-logic/jvm/src/main/kotlin/gradlebuild/kotlin/tasks/ParameterNamesIndex.kt

            destinationFile.get().asFile.let {
                if (sources.isEmpty) it.writeText("")
                else generateParameterNamesResource(sources.files, classpath.files, it)
            }
    
        private
        fun generateParameterNamesResource(sources: Set<File>, classpath: Set<File>, destinationFile: File) {
            val index = extractParameterNamesIndexFrom(sources, classpath)
            destinationFile.parentFile.mkdirs()
    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)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/UserGuideTransformTaskTest.groovy

            given:
            String content = TextUtil.normaliseLineSeparators(
    """            sources {
                    cpp {
                        lib library: "hello"
                    }
                }""")
            when:
            def actual = UserGuideTransformTask.normalise(content)
    
            then:
            actual ==
    """sources {
        cpp {
            lib library: "hello"
        }
    }"""
        }
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Tue Jul 27 19:28:51 GMT 2021
    - 1.9K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleDocumentationExtension.java

         */
        public abstract ConfigurableFileCollection getCssFiles();
    
        /**
         * The source code to be documented. This should be the "public" APIs.
         */
        public abstract ConfigurableFileCollection getDocumentedSource();
    
        /**
         * Source code root folders. Java, Groovy & Kotlin public API sources, including
         * generated code.
         */
        public abstract ConfigurableFileCollection getSourceRoots();
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Aug 11 08:52:40 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            )
    
        /**
         * Runs the binary compatibility check against two source trees.
         *
         * The fixture build supports both Java and Kotlin sources.
         *
         * @param v1 sources producer for V1, receiver is the `src/main` directory
         * @param v2 sources producer for V2, receiver is the `src/main` directory
         * @param block convenience block invoked on the result
         * @return the check result
         */
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Sep 25 13:49:37 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

            task.sources(patternSet -> patternSet.include("userguide_single.adoc"));
    
            // TODO: This breaks the provider
            task.setSourceDir(extension.getUserManual().getStagedDocumentation().get().getAsFile());
    
            Map<String, Object> attributes = new HashMap<>();
            attributes.put("source-highlighter", "coderay");
            attributes.put("toc", "macro");
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Mar 01 05:46:51 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

        }
    
        protected boolean isOverride(JApiMethod method) {
            // No point in parsing the source file if the method is not there any more.
            if (method.changeStatus == JApiChangeStatus.REMOVED) {
                return false
            }
            // @Override has source retention - so we need to peek into the sources
            return repository.isOverride(method)
        }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslRuntimeGeneratedSources.java

    import javax.inject.Inject;
    import java.io.File;
    
    import static com.google.common.collect.Iterables.getOnlyElement;
    import static java.util.stream.Collectors.toList;
    
    /**
     * Extracts Kotlin DSL runtime generated sources.
     *
     * Current implementation extracts these from the wrapper's API jars.
     * This is not correct as it should do this with the built distribution instead.
     *
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sun Mar 19 17:15:23 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java

            if (commitId.isBlank() || commitId.toLowerCase().contains("unknown")) {
                // we can't figure out the commit ID (probably this is a source distribution build), let's skip adding source links
                return;
            }
    
            extension.getSourceRoots().getFiles()
                .forEach(
                    file -> {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 15 14:00:14 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  9. build-logic/jvm/src/main/kotlin/gradlebuild.api-parameter-names-index.gradle.kts

    plugins {
        id("gradlebuild.module-identity")
        java
    }
    
    val main = sourceSets.main.get()
    val parameterNamesIndex by tasks.registering(ParameterNamesIndex::class) {
        sources.from(
            main.allJava.matching {
                include(PublicApi.includes)
                exclude(PublicApi.excludes)
            }
        )
        classpath.from(main.compileClasspath)
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Fri Jan 20 15:24:40 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  10. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

            val extension = this.extensions.create<ErrorProneSourceSetExtension>("errorprone", project.objects.property<Boolean>())
            // Enable it only for the main source set by default, as incremental Groovy
            // joint-compilation doesn't work with the Error Prone annotation processor
            extension.enabled.convention(this.name == "main")
    
            project.dependencies.addProvider(
    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