Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for inline (0.2 sec)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt

        }
    
        private
        fun configureKotlinCompilerIoForWindowsSupport() =
            org.jetbrains.kotlin.cli.common.environment.setIdeaIoUseFallback()
    }
    
    
    private
    inline fun <T : Any?> Disposable.use(action: Disposable.() -> T) =
        try {
            action(this)
        } finally {
            Disposer.dispose(this)
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt

                    packageName = annotation.getMemberValue("pn")?.stringValue ?: "",
                    extraInt = annotation.getMemberValue("xi")?.intValue ?: 0
                )
            }
    
        private
        inline fun <reified T : Any> CtClass.ctAnnotation(): Annotation? =
            getAnnotation(T::class.java)
                ?.takeIf { Proxy.isProxyClass(it::class.java) }
                ?.let { Proxy.getInvocationHandler(it) as? AnnotationImpl }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Jun 07 08:20:38 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  3. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

    }
    
    fun readCapabilities(source: File): List<CapabilitySpec> {
        JsonReader(source.reader(Charsets.UTF_8)).use { reader ->
            reader.isLenient = true
            return Gson().fromJson(reader)
        }
    }
    
    inline
    fun <reified T> Gson.fromJson(json: JsonReader): T = this.fromJson(json, object : TypeToken<T>() {}.type)
    
    
    abstract class CapabilityRule @Inject constructor(
        val name: String,
        val version: String
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Aug 24 23:27:45 GMT 2022
    - 9.1K bytes
    - Viewed (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/PublicKotlinDslApi.kt

    object PublicKotlinDslApi {
    
        val includes = listOf(
            "org/gradle/kotlin/dsl/*",
            "org/gradle/kotlin/dsl/precompile/*",
        )
    
        val excludes = listOf(
            // Kotlin inlined functions classes
            "**/*${'$'}inlined${'$'}*"
        )
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 903 bytes
    - Viewed (0)
  5. build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/extension/ExternalModulesExtension.kt

        val junit = "junit:junit"
        val junit5Vintage = "org.junit.vintage:junit-vintage-engine"
        val junit5JupiterApi = "org.junit.jupiter:junit-jupiter-api"
        val junitPlatform = "org.junit.platform:junit-platform-launcher"
        val junitPlatformEngine = "org.junit.platform:junit-platform-engine"
        val jzlib = "com.jcraft:jzlib"
        val kryo = "com.esotericsoftware.kryo:kryo"
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 16 15:50:58 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/build.gradle.kts

        implementation("org.jetbrains.kotlinx:kotlinx-metadata-jvm")
        implementation(kotlin("compiler-embeddable"))
    
        testImplementation("org.jsoup:jsoup")
        testImplementation("org.junit.jupiter:junit-jupiter-engine")
    }
    
    tasks.compileGroovy.configure {
        classpath += files(tasks.compileKotlin)
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 905 bytes
    - Viewed (0)
  7. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.kotlin-dsl-gradle-plugin.gradle.kts

    }
    
    java.configureJavaToolChain()
    
    dependencies {
        api(platform("gradlebuild:build-platform"))
        implementation("gradlebuild:gradle-plugin")
    
        testImplementation("org.junit.vintage:junit-vintage-engine")
    }
    
    tasks.withType<KotlinCompile>().configureEach {
        compilerOptions {
            allWarningsAsErrors = true
        }
    }
    
    ktlint {
        filter {
            exclude("gradle/kotlin/dsl/accessors/_*/**")
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Oct 03 15:32:00 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  8. build-logic-commons/build-platform/build.gradle.kts

            api("org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.6.0")
            api("org.jsoup:jsoup:1.15.3")
            api("org.junit.jupiter:junit-jupiter:5.8.2")
            api("org.junit.vintage:junit-vintage-engine:5.8.2")
            api("org.openmbee.junit:junit-xml-parser:1.0.0")
            api("org.ow2.asm:asm:$asmVersion")
            api("org.ow2.asm:asm-commons:$asmVersion")
            api("org.ow2.asm:asm-tree:$asmVersion")
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 05:34:03 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  9. build-logic-commons/basics/build.gradle.kts

        }
        implementation(kotlin("gradle-plugin") as String) {
            because("For manually defined KotlinSourceSet accessor - sourceSets.main.get().kotlin")
        }
    
        testImplementation("org.junit.jupiter:junit-jupiter-engine:5.8.2")
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sun Oct 01 12:13:59 GMT 2023
    - 981 bytes
    - Viewed (0)
  10. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

            }
            FlakyTestStrategy.ONLY -> {
                // Note there is an issue: https://github.com/spockframework/spock/issues/1288
                // JUnit Platform `includeTags` works before Spock engine, thus excludes all spock tests.
                // As a workaround, we tag all non-spock integration tests and use `includeTags(none() | Flaky)` here.
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Jan 17 13:36:27 GMT 2024
    - 15.7K bytes
    - Viewed (0)
Back to top