Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Parse (0.29 sec)

  1. 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)
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRuleSetup.java

        }
    
        @Override
        public void execute(ViolationCheckContext context) {
            List<UpgradedProperty> currentUpgradedProperties = UpgradedProperties.parse(params.get(CURRENT_UPGRADED_PROPERTIES_KEY));
            List<UpgradedProperty> baselineUpgradedProperties = UpgradedProperties.parse(params.get(BASELINE_UPGRADED_PROPERTIES_KEY));
            context.putUserData(CURRENT_ACCESSORS_OF_UPGRADED_PROPERTIES, diff(
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateInitPluginTemplateVersionFile.kt

        fun updateInitPluginTemplateVersionFile() {
            val versionProperties = Properties()
    
            findLatest("scala-library", "org.scala-lang:scala-library:2.13.+", versionProperties)
            val scalaVersion = VersionNumber.parse(versionProperties["scala-library"] as String)
            versionProperties["scala"] = "${scalaVersion.major}.${scalaVersion.minor}"
    
            // The latest released version is 2.0.0-M1, which is excluded by "don't use snapshot" strategy
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Dec 19 11:19:07 GMT 2023
    - 5K bytes
    - Viewed (0)
  4. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

        attributes {
            attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements.RESOURCES))
        }
    }
    
    val groovyVersion = GroovySystem.getVersion()
    val isAtLeastGroovy4 = VersionNumber.parse(groovyVersion).major >= 4
    val codenarcVersion = if (isAtLeastGroovy4) "3.1.0-groovy-4.0" else "3.1.0"
    
    dependencies {
        rules("gradlebuild:code-quality-rules") {
            because("Provides rules defined in XML files")
    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)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

                throw new GradleException("filter isn't ready to transform");
            }
    
            Document document = Jsoup.parse(CharStreams.toString(in));
            document.outputSettings().indentAmount(2).prettyPrint(true);
            document.prependChild(new DocumentType("html", "", ""));
            document.head().
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 25 04:49:56 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  6. build-logic-commons/build-platform/build.gradle.kts

    // Here you should declare versions which should be shared by the different modules of buildSrc itself
    val javaParserVersion = "3.18.0"
    val groovyVersion = GroovySystem.getVersion()
    val isGroovy4 = VersionNumber.parse(groovyVersion).major >= 4
    val codenarcVersion = if (isGroovy4) "3.1.0-groovy-4.0" else "3.1.0"
    val spockVersion = if (isGroovy4) "2.2-groovy-4.0" else "2.2-groovy-3.0"
    val asmVersion = "9.7"
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 05:34:03 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

        public static final String CURRENT_ACCESSORS_OF_UPGRADED_PROPERTIES = "currentAccessorsOfUpgradedProperties";
    
        public static List<UpgradedProperty> parse(String path) {
            File file = new File(path);
            if (!file.exists()) {
                return Collections.emptyList();
            }
            try {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle

                }
            }
        }
    }
    
    def apiChangesJsonFile = layout.projectDirectory.file("src/changes/accepted-public-api-changes.json")
    def acceptedViolations = AcceptedApiChanges.parse(providers.fileContents(apiChangesJsonFile).asText.get())
    def compatibilityBaselineVersion = moduleIdentity.releasedVersions.get().mostRecentRelease.version
    
    def ARTIFACT_TYPE = Attribute.of('artifactType', String)
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 11 12:20:44 GMT 2024
    - 8.6K bytes
    - Viewed (0)
Back to top