Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for substringBeforeLast (0.08 sec)

  1. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JApiCmpExtensions.kt

    
    internal
    val JApiClass.packagePath: String
        get() = packageName.replace(".", "/")
    
    
    internal
    val JApiClass.packageName: String
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 24 14:15:15 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  2. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginEntry.kt

            }.map { pluginEntry ->
                val pluginProperties = jarFile.getInputStream(pluginEntry).use { Properties().apply { load(it) } }
                val id = pluginEntry.name.substringAfterLast("/").substringBeforeLast(".properties")
                val implementationClass = pluginProperties.getProperty("implementation-class")
                PluginEntry(id, implementationClass)
            }.toList()
        }
    } catch (cause: IOException) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/GenerateAutoTestedSamplesTestTask.kt

                return
            }
            val className = relativePath.substringAfterLast("/").replace(".groovy", "AutoTestedSamplesTest").replace(".java", "AutoTestedSamplesTest")
            val targetFilePath = "${relativePath.substringBeforeLast("/")}/${className}.groovy"
            val targetFile = outputDir.file(targetFilePath).get().asFile
            targetFile.parentFile.mkdirs()
            targetFile.writeText(
                """
    package org.gradle.samples
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Dec 19 06:44:41 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/TypeNameResolver.java

                String baseName = StringUtils.substringAfterLast(importedClass, ".");
                if (baseName.equals("*")) {
                    candidateClassName = StringUtils.substringBeforeLast(importedClass, ".") + "." + name;
                    if (metaDataRepository.find(candidateClassName) != null) {
                        return candidateClassName;
                    }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Jul 16 15:20:01 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt

        private
        fun fetchAapt2Versions(agpVersions: Set<String>, mavenMetadataUrl: String): List<String> {
            return fetchVersionsFromMavenMetadata(mavenMetadataUrl)
                .filter { version -> version.substringBeforeLast("-") in agpVersions }
                .sortedBy { VersionNumber.parse(it) }
        }
    
        private
        fun fetchNightlyBuildId(buildListUrl: String): String =
            Jsoup.connect(buildListUrl)
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Oct 24 09:10:29 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java

            this.packageName = packageName;
            this.metaType = metaType;
            this.isGroovy = isGroovy;
        }
    
        public ClassMetaData(String className) {
            this(className, StringUtils.substringBeforeLast(className, "."), MetaType.CLASS, false, "");
        }
    
        @Override
        public String toString() {
            return className;
        }
    
        public String getClassName() {
            return className;
        }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed May 21 06:20:45 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

                        .toList()
                )
            }
        }
    
        private
        fun taskPathToProjectPath(taskPath: String): String {
            return taskPath.substringBeforeLast(":").ifEmpty { ":" }
        }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Nov 05 11:43:49 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

        private
        fun File.withUniqueDirectory(prefixPath: String): File =
            Files.createTempDirectory(
                withDirectory(prefixPath.substringBeforeLast("/")).toPath(),
                prefixPath.substringAfterLast("/")
            ).toFile()
    
        private
        fun File.withDirectory(path: String): File =
            resolve(path).apply {
                mkdirs()
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 30 10:14:25 UTC 2025
    - 18K bytes
    - Viewed (0)
Back to top