Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for url (1.45 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/HtmlReportTemplate.kt

                .openStream()
                .bufferedReader()
                .use(BufferedReader::readText)
    }
    
    
    private
    fun Class<*>.requireResource(path: String): URL = getResource(path).let { url ->
        require(url != null) { "Resource `$path` could not be found!" }
        url
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. JavadocStyleGuide.md

     * <p>
     * The url argument must specify an absolute {@link URL}. 
     * The name argument is a specifier that is relative to the url argument.
     * This method always returns immediately, whether or not the image exists. 
     *
     * @param url an absolute URL giving the base location of the image
     * @param name the location of the image, relative to the url argument
     * @return the image at the specified URL
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 15:43:07 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptClassPathProvider.kt

            return classPathFiles
        }
    
        private
        fun fileFrom(url: URL) = File(toURI(url))
    }
    
    
    private
    fun toURI(url: URL): URI =
        try {
            url.toURI()
        } catch (e: URISyntaxException) {
            URL(
                url.protocol,
                url.host,
                url.port,
                url.file.replace(" ", "%20")
            ).toURI()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:16:36 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/common/performance-test-extensions.kt

        "-Porg.gradle.java.installations.auto-download=false",
        os.javaInstallationLocations(arch)
    ) + listOf(
        "-Porg.gradle.performance.branchName" to "%teamcity.build.branch%",
        "-Porg.gradle.performance.db.url" to "%performance.db.url%",
        "-Porg.gradle.performance.db.username" to "%performance.db.username%"
    ).map { (key, value) -> os.escapeKeyValuePair(key, value) }
    
    const val individualPerformanceTestArtifactRules = """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/RepositoryHandlerExtensions.kt

     */
    fun RepositoryHandler.maven(url: Any) =
        maven { setUrl(url) }
    
    
    /**
     * Adds and configures a Maven repository.
     *
     * The provided [url] value is evaluated as per [org.gradle.api.Project.uri]. This means, for example, you can pass in a `File` object, or a relative path to be evaluated relative
     * to the project directory.
     *
     * @param url The base URL of this repository. This URL is used to find both POMs and artifact files.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/common/extensions.kt

    import jetbrains.buildServer.configs.kotlin.ui.add
    import java.util.Locale
    
    const val pluginPortalUrlOverride = "-Dorg.gradle.internal.plugins.portal.url.override=%gradle.plugins.portal.url%"
    
    fun BuildSteps.customGradle(init: GradleBuildStep.() -> Unit, custom: GradleBuildStep.() -> Unit): GradleBuildStep =
        GradleBuildStep(init)
            .apply(custom)
            .also {
                step(it)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/RepositoryHandlerExtensionsTest.kt

            val url = Any()
            repositories {
                ivy(url = url)
            }
    
            verify(repository, only()).setUrl(url)
        }
    
        @Test
        fun `#ivy(String, Action) sets url before invoking configuration action`() {
    
            val repository = mock<IvyArtifactRepository>()
            val repositories = ivyRepositoryHandlerMockFor(repository)
    
            val url = Any()
            repositories {
                ivy(url = url) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/KotlinScript.kt

         *   A string that starts with `file:` is treated as a file URL.
         * - A [File].
         *   If the file is an absolute file, it is returned as is. Otherwise it is resolved.
         * - A [java.nio.file.Path].
         *   The path must be associated with the default provider and is treated the same way as an instance of `File`.
         * - A [URI] or [java.net.URL].
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/GroovyInteroperability.kt

     *
     * ```Groovy
     * repository(url: "scp://repos.mycompany.com/releases") {
     *   authentication(userName: "me", password: "myPassword")
     * }
     * ```
     *
     * Can be mechanically translated to the following Kotlin with the aid of `withGroovyBuilder`:
     *
     * ```Kotlin
     * withGroovyBuilder {
     *   "repository"("url" to "scp://repos.mycompany.com/releases") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinInitScriptIntegrationTest.kt

                        allprojects {
                            buildscript.repositories {
                                maven {
                                    name = "test-repository"
                                    url = uri("${testRepositoryDir.toURI()}")
                                }
                            }
                        }
                        """
                    )
                }
            }
    
            withBuildScript(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Sep 24 17:45:43 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top