Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 874 for ktlint (0.25 sec)

  1. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.ktlint.gradle.kts

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    plugins {
        id("org.gradle.kotlin-dsl.ktlint-convention")
    }
    
    tasks {
        runKtlintCheckOverKotlinScripts {
            // Only check the build files, not all *.kts files in the project
            includes += listOf("*.gradle.kts")
        }
    
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Sun Oct 01 11:07:15 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.kotlin-dsl-gradle-plugin.gradle.kts

     * limitations under the License.
     */
    import gradlebuild.commons.configureJavaToolChain
    import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
    
    plugins {
        id("java-library")
        id("org.gradle.kotlin.kotlin-dsl") // this is 'kotlin-dsl' without version
        id("gradlebuild.code-quality")
        id("gradlebuild.ktlint")
        id("gradlebuild.ci-reporting")
        id("gradlebuild.test-retry")
    }
    
    java.configureJavaToolChain()
    
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Oct 03 15:32:00 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.collect-failed-tasks.gradle.kts

    import org.gradle.tooling.events.task.TaskOperationResult
    import org.jlleitschuh.gradle.ktlint.tasks.GenerateReportsTask
    import java.io.Serializable
    import java.util.concurrent.CopyOnWriteArrayList
    
    /**
     * Register a build service that monitors compilation tasks and code quality tasks (Checkstyle/CodeNarc/ktlint)
     * and reports them as TeamCity build problems.
     */
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Aug 11 07:01:27 GMT 2022
    - 2.3K bytes
    - Viewed (1)
  4. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.kotlin-shared-runtime.gradle.kts

    import gradlebuild.commons.configureJavaToolChain
    import org.jetbrains.kotlin.gradle.dsl.JvmTarget
    
    plugins {
        id("java-library")
        kotlin("jvm")
        id("gradlebuild.module-jar")
        id("gradlebuild.reproducible-archives")
        id("gradlebuild.repositories")
        id("gradlebuild.code-quality")
        id("gradlebuild.ktlint")
        id("gradlebuild.test-retry")
        id("gradlebuild.ci-reporting")
    }
    
    java {
        configureJavaToolChain()
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Oct 03 15:32:00 GMT 2023
    - 652 bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/-RequestBodyCommon.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    @file:Suppress("ktlint:standard:filename")
    
    package okhttp3.internal
    
    import okhttp3.MediaType
    import okhttp3.RequestBody
    import okio.BufferedSink
    import okio.ByteString
    
    fun ByteArray.commonToRequestBody(
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  6. .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
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Mar 06 23:02:25 GMT 2024
    - 4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlinTemplates/okhttp3/internal/-InternalVersion.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    @file:Suppress("ktlint:standard:filename")
    
    package okhttp3.internal
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 723 bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/internal.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    /** Exposes Kotlin-internal APIs to Java test code and code in other modules. */
    @file:JvmName("Internal")
    @file:Suppress("ktlint:standard:filename")
    
    package okhttp3.internal
    
    import java.nio.charset.Charset
    import javax.net.ssl.SSLSocket
    import okhttp3.Cache
    import okhttp3.CipherSuite
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  9. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/SourceFileHeader.kt

        "deprecation"
    )
    @file:org.gradle.api.Generated${if (isIncubating) "\n@file:org.gradle.api.Incubating" else ""}
    
    /* ktlint-disable */
    
    package $packageName
    """
    
    
    const val kotlinDslPackageName = "org.gradle.kotlin.dsl"
    
    
    const val kotlinDslPackagePath = "org/gradle/kotlin/dsl"
    
    
    const val licenseHeader = """/*
     * Copyright 2018 the original author or authors.
     *
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Sun Nov 12 16:16:08 GMT 2023
    - 2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/-NormalizeJvm.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    @file:Suppress("ktlint:standard:filename")
    
    package okhttp3.internal
    
    import java.text.Normalizer
    import java.text.Normalizer.Form.NFC
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 842 bytes
    - Viewed (0)
Back to top