Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 237 for ktlint (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. build-logic/src/main/kotlin/okhttp.quality-conventions.gradle.kts

      "lintChecks"(library("androidx-lint-gradle"))
    }
    
    configure<com.android.build.api.dsl.Lint> {
      xmlReport = true
      checkDependencies = true
    }
    
    configure<com.diffplug.gradle.spotless.SpotlessExtension> {
      kotlin {
        target("src/**/*.kt")
        targetExclude("**/kotlinTemplates/**/*.kt")
        ktlint()
        suppressLintsFor {
          step = "ktlint"
          shortCode = "standard:mixed-condition-operators"
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  2. build-logic/build.gradle.kts

    plugins {
      `kotlin-dsl`
      id("com.diffplug.spotless") version "8.4.0"
    }
    
    configure<com.diffplug.gradle.spotless.SpotlessExtension> {
      kotlin {
        target("src/**/*.kt")
        ktlint()
      }
      kotlinGradle {
        target("*.kts")
        targetExclude("build/**/*.kts")
        ktlint()
      }
    }
    
    repositories {
      google()
      mavenCentral()
      gradlePluginPortal()
    }
    
    dependencies {
      implementation(libs.gradlePlugin.kotlin)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 18 18:05:02 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  3. .github/workflows/submit-github-dependency-graph.yml

            DEPENDENCY_GRAPH_EXCLUDE_PROJECTS: ':docs|:internal-performance-testing|:enterprise-plugin-performance|:performance|:internal-integ-testing'
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 22:06:44 GMT 2026
    - 933 bytes
    - Click Count (0)
  4. .teamcity/README.md

    You also need to run `mvn clean verify` with Java 8 before committing changes.
    
    If you have ktlint errors, you can automatically fix them by running `mvn com.github.gantsign.maven:ktlint-maven-plugin:1.1.1:format`.
    
    ## How the configuration works
    
    We use Kotlin portable DSL to store TeamCity configuration, which means you can easily create a new pipeline
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 06 23:02:25 GMT 2024
    - 4K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskLoggerTest.kt

     * limitations under the License.
     */
    package okhttp3.internal.concurrent
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import org.junit.jupiter.api.Test
    
    class TaskLoggerTest {
      @Suppress("ktlint")
      @Test fun formatTime() {
        assertThat(formatDuration(-3_499_999_999L)).isEqualTo(" -3 s ")
        assertThat(formatDuration(-3_000_000_000L)).isEqualTo(" -3 s ")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-compiler-configuration.kt

    import org.gradle.kotlin.dsl.*
    import org.jetbrains.kotlin.config.ApiVersion
    import org.jetbrains.kotlin.config.CommonConfigurationKeys
    import org.jetbrains.kotlin.config.CompilerConfiguration
    import org.jetbrains.kotlin.config.JVMConfigurationKeys
    import org.jetbrains.kotlin.config.JvmAnalysisFlags
    import org.jetbrains.kotlin.config.JvmClosureGenerationScheme
    import org.jetbrains.kotlin.config.LanguageVersion
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jul 08 12:31:49 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-dsl-upstream-candidates.kt

    // This file contains members that we should consider to pull upstream
    // and make available to all Kotlin DSL users
    package gradlebuild.basics.kotlindsl
    
    import org.gradle.process.ExecOperations
    import java.io.ByteArrayOutputStream
    import java.io.File
    
    
    /**
     * `dir / "sub"` is the same as `dir.resolve("sub")`.
     *
     * @see [File.resolve]
     */
    operator fun File.div(child: String): File =
        resolve(child)
    
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon May 19 11:33:57 GMT 2025
    - 965 bytes
    - Click Count (0)
  8. build-logic-commons/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts

        }
    }
    
    gradlePlugin {
        website = "https://github.com/gradle/gradle/tree/HEAD/platforms/core-configuration/kotlin-dsl-plugins"
        vcsUrl = "https://github.com/gradle/gradle/tree/HEAD/platforms/core-configuration/kotlin-dsl-plugins"
    
        plugins.all {
    
            val plugin = this
    
            tags.addAll("Kotlin", "DSL")
    
            publishPluginsToTestRepository.configure {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 11:01:20 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  9. okhttp-coroutines/build.gradle.kts

      api(libs.kotlin.stdlib)
    
      testImplementation(libs.kotlin.test.annotations)
      testImplementation(libs.kotlin.test.common)
      testImplementation(libs.kotlin.test.junit)
      testApi(libs.assertk)
      testImplementation(projects.okhttpTestingSupport)
      testImplementation(libs.kotlinx.coroutines.test)
      testImplementation(projects.mockwebserver3Junit5)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 792 bytes
    - Click Count (0)
  10. build-logic/src/main/kotlin/okhttp.publish-conventions.gradle.kts

    import com.vanniktech.maven.publish.KotlinJvm
    import com.vanniktech.maven.publish.KotlinMultiplatform
    import com.vanniktech.maven.publish.MavenPublishBaseExtension
    import kotlinx.validation.ApiValidationExtension
    import kotlinx.validation.KotlinApiBuildTask
    import kotlinx.validation.KotlinApiCompareTask
    
    plugins {
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    configure<MavenPublishBaseExtension> {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:00:38 GMT 2026
    - 2.6K bytes
    - Click Count (0)
Back to Top