Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 447 for ktlint (0.15 sec)

  1. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        // In contrast to the JVM, Kotlin native throws an Illegal argument exception in this case
        // (which seems to make more sense).
        try {
          UnsignedInts.parseUnsignedInt("0", Character.MIN_RADIX - 1);
          fail();
        } catch (NumberFormatException expected) {
        } catch (IllegalArgumentException expected) {
          // Kotlin native, see above
        }
    
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/BuildScanInfoCollectingServices.kt

    import org.gradle.api.provider.Provider
    import org.gradle.build.event.BuildEventsListenerRegistry
    // Using star import to workaround https://youtrack.jetbrains.com/issue/KTIJ-24390
    import org.gradle.kotlin.dsl.*
    import org.gradle.kotlin.dsl.support.serviceOf
    
    /**
     * In build-logic and main build, register a BuildService instance separately,
     * which collects necessary information for build scan.
     */
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 24 03:34:53 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleBuildDocumentationPlugin.java

                task.from(extension.getJavadocs().getRenderedDocumentation(), sub -> sub.into("javadoc"));
    
                // Dokka Kotlin DSL reference goes into kotlin-dsl/
                task.from(extension.getKotlinDslReference().getRenderedDocumentation(), sub -> sub.into("kotlin-dsl"));
    
                // User manual goes into userguide/ (for historical reasons)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 17 20:04:00 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. mockwebserver-junit4/build.gradle.kts

    import com.vanniktech.maven.publish.JavadocJar
    import com.vanniktech.maven.publish.KotlinJvm
    
    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    tasks.jar {
      manifest {
        attributes("Automatic-Module-Name" to "mockwebserver3.junit4")
      }
    }
    
    dependencies {
      api(projects.mockwebserver3)
      api(libs.junit)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 04 05:32:07 UTC 2024
    - 510 bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/util/UtilProject.kt

    package util
    
    import common.Arch
    import common.Os
    import jetbrains.buildServer.configs.kotlin.Project
    
    object UtilProject : Project({
        id("Util")
        name = "Util"
    
        buildType(RerunFlakyTest(Os.LINUX))
        buildType(RerunFlakyTest(Os.WINDOWS))
        buildType(RerunFlakyTest(Os.MACOS, Arch.AMD64))
        buildType(RerunFlakyTest(Os.MACOS, Arch.AARCH64))
        buildType(WarmupEc2Agent)
    
        buildType(PublishKotlinDslPlugin)
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 24 03:34:53 UTC 2024
    - 521 bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/configurations/BaseGradleBuildType.kt

    package configurations
    
    import common.Os
    import jetbrains.buildServer.configs.kotlin.BuildType
    import model.Stage
    
    open class BaseGradleBuildType(
        open val stage: Stage? = null,
        open val failStage: Boolean = true,
        init: BaseGradleBuildType.() -> Unit = {}
    ) : BuildType() {
        init {
            this.init()
        }
    }
    
    open class OsAwareBaseGradleBuildType(
        val os: Os,
        override val stage: Stage? = null,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 18 07:02:47 UTC 2024
    - 558 bytes
    - Viewed (0)
  7. samples/simple-client/build.gradle.kts

    plugins {
      kotlin("jvm")
    }
    
    dependencies {
      implementation(projects.okhttp)
      implementation(libs.squareup.moshi)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 15 23:38:32 UTC 2022
    - 118 bytes
    - Viewed (0)
  8. samples/slack/build.gradle.kts

    plugins {
      kotlin("jvm")
    }
    
    dependencies {
      implementation(projects.mockwebserver)
      implementation(libs.squareup.moshi)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 15 23:38:32 UTC 2022
    - 125 bytes
    - Viewed (0)
  9. samples/unixdomainsockets/build.gradle.kts

    plugins {
      kotlin("jvm")
    }
    
    dependencies {
      implementation(projects.okhttp)
      implementation(projects.mockwebserver)
      implementation(libs.jnr.unixsocket)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 15 23:38:32 UTC 2022
    - 159 bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Interceptor.kt

     *    crashes the application on Android and prints a stacktrace on the JVM. (Crash reporting
     *    libraries may customize this behavior.)
     *
     * A good way to signal a failure is with a synthetic HTTP response:
     *
     * ```kotlin
     *   @Throws(IOException::class)
     *   override fun intercept(chain: Interceptor.Chain): Response {
     *     if (myConfig.isInvalid()) {
     *       return Response.Builder()
     *           .request(chain.request())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top