Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 100 for sources (0.16 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/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)
  4. 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)
  5. 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)
  6. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepository.kt

    package gradlebuild.binarycompatibility
    
    import com.google.common.annotations.VisibleForTesting
    import gradlebuild.binarycompatibility.sources.ApiSourceFile
    import gradlebuild.binarycompatibility.sources.JavaSourceQueries
    import gradlebuild.binarycompatibility.sources.KotlinSourceQueries
    import gradlebuild.binarycompatibility.sources.SourcesRepository
    import japicmp.model.JApiClass
    import japicmp.model.JApiCompatibility
    import japicmp.model.JApiMethod
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 3.8K bytes
    - Viewed (0)
  7. 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)
  8. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility.sources
    
    import com.github.javaparser.ast.body.AnnotationDeclaration
    import com.github.javaparser.ast.body.AnnotationMemberDeclaration
    import com.github.javaparser.ast.body.BodyDeclaration
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  9. build-logic/buildquality/src/main/kotlin/gradlebuild.incubation-report.gradle.kts

        description = "Generates a report of incubating APIS"
        title = project.name
        versionFile = repoRoot().file("version.txt")
        releasedVersionsFile = releasedVersionsFile()
        sources.from(sourceSets.main.get().java.sourceDirectories)
        sources.from(sourceSets.main.get().groovy.sourceDirectories)
        htmlReportFile = file(layout.buildDirectory.file("reports/incubation/${project.name}.html"))
    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)
  10. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/tasks/IncubatingApiReportTask.kt

        abstract val releasedVersionsFile: RegularFileProperty
    
        @get:Input
        abstract val title: Property<String>
    
        @get:InputFiles
        @get:PathSensitive(PathSensitivity.RELATIVE)
        abstract val sources: ConfigurableFileCollection
    
        @get:OutputFile
        abstract val htmlReportFile: RegularFileProperty
    
        @get:OutputFile
        abstract val textReportFile: RegularFileProperty
    
        @get:Inject
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 30 09:32:11 GMT 2023
    - 1.9K bytes
    - Viewed (0)
Back to top