- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for SourceFile (0.13 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java
gatherDeadJavadocLinksInLine(sourceFile, line, lineNumber, errorsForFile); gatherMarkdownLinksInLine(sourceFile, line, lineNumber, errorsForFile); line = br.readLine(); } } catch (IOException e) { throw new UncheckedIOException(e); } if (!errorsForFile.isEmpty()) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Aug 21 08:08:05 UTC 2024 - 9.4K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy
} def parse(File sourceFile, ClassMetaDataRepository<gradlebuild.docs.dsl.source.model.ClassMetaData> repository) { if (!sourceFile.name.endsWith('.java')) { throw new DocGenerationException("Parsing non-Java files is not supported: $sourceFile") } try { new JavaParser().parse(sourceFile).getResult().get().accept(new SourceMetaDataVisitor(), repository)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Jan 08 12:45:57 UTC 2024 - 4.4K bytes - Viewed (0) -
build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/SamplesGenerator.kt
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Oct 22 11:11:17 UTC 2024 - 13.5K bytes - Viewed (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt
if (!sourceFile.name.endsWith(".java")) return emptyMap() val versionsToIncubating = mutableMapOf<Version, MutableSet<IncubatingDescription>>() JavaParser().parse(sourceFile).getResult().get().run { solver.inject(this) findAllIncubating() .map { node -> toVersionIncubating(sourceFile, node) } .forEach { (version, incubating) ->
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 28 08:29:28 UTC 2024 - 12.8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepository.kt
member.jApiClass.let { declaringClass -> sources.sourceFileAndSourceRootFor(declaringClass.sourceFilePath).let { (sourceFile, sourceRoot) -> if (declaringClass.isKotlin) ApiSourceFile.Kotlin(sourceFile, sourceRoot) else ApiSourceFile.Java(sourceFile, sourceRoot) } } private val JApiClass.sourceFilePath: String
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 28 08:29:28 UTC 2024 - 3.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy
private final static String TEST_INTERFACE_NAME = 'org.gradle.api.ApiTest' private final static String TEST_INTERFACE_SIMPLE_NAME = 'ApiTest' @TempDir File tmp File sourceFile BinaryCompatibilityRepository repository def jApiClassifier = Stub(JApiClass) // represents interfaces, enums and annotations def jApiMethod = Stub(JApiMethod)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Dec 01 20:12:19 UTC 2023 - 16K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/XIncludeAwareXmlProvider.groovy
import org.w3c.dom.Document import org.w3c.dom.Element import org.w3c.dom.Node class XIncludeAwareXmlProvider { Document root Element parse(File sourceFile) { root = parseSourceFile(sourceFile) root.documentElement } Node emptyDoc() { root = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument() }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.2K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt
} } ) } } fun JarOutputStream.addJarEntry(entryName: String, sourceFile: File) { val entry = ZipEntry(entryName) entry.time = zipEntryBaseTimestamp putNextEntry(entry) BufferedInputStream(FileInputStream(sourceFile)).use { inputStream -> inputStream.copyTo(this) } closeEntry() } fun File.getClassSuperTypes(): Set<String> {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Oct 28 12:55:30 UTC 2024 - 6.8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy
@Input abstract Property<String> getVersion(); @TaskAction def transform() { XIncludeAwareXmlProvider provider = new XIncludeAwareXmlProvider() provider.parse(sourceFile.get().asFile) transformImpl(provider.document) provider.write(destFile.get().asFile) } private def transformImpl(Document doc) { use(BuildableDOMCategory) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:07:24 UTC 2024 - 5.6K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy
* <ul> * <li>Meta-data extracted from the source by {@link gradlebuild.docs.dsl.source.ExtractDslMetaDataTask}.</li> * <li>Meta-data about the plugins, in the form of an XML file.</li> * <li>{@code sourceFile} - A main docbook template file containing the introductory material and a list of classes to document.</li>
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 9.8K bytes - Viewed (0)