- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for withType (0.05 sec)
-
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts
} } } } tasks.withType<JavaCompile>().configureEach { options.errorprone { disableWarningsInGeneratedCode = true allErrorsAsWarnings = true } } val codeQuality = tasks.register("codeQuality") { dependsOn(tasks.withType<CodeNarc>()) dependsOn(tasks.withType<Checkstyle>()) dependsOn(tasks.withType<ValidatePlugins>()) }Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Oct 01 11:57:43 UTC 2025 - 9.3K bytes - Viewed (0) -
build-logic/jvm/src/main/kotlin/gradlebuild/jvm/JvmCompilation.kt
*/ abstract val targetJvmVersion: Property<Int> fun Project.from(sourceSet: SourceSet) { associate(tasks.named<JavaCompile>(sourceSet.getCompileTaskName("java"))) plugins.withType<GroovyBasePlugin>() { associate(tasks.named<GroovyCompile>(sourceSet.getCompileTaskName("groovy"))) } plugins.withId("org.jetbrains.kotlin.jvm") {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Sep 19 05:45:14 UTC 2025 - 5.8K bytes - Viewed (0) -
build.gradle.kts
} // https://publicobject.com/2023/04/16/read-a-project-file-in-a-kotlin-multiplatform-test/ tasks.withType<Test>().configureEach { environment("OKHTTP_ROOT", rootDir) } tasks.withType<KotlinJvmTest>().configureEach { environment("OKHTTP_ROOT", rootDir) } tasks.withType<JavaCompile> { if (name.contains("Java9")) { sourceCompatibility = "9" targetCompatibility = "9"
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 11.5K bytes - Viewed (1) -
okhttp/build.gradle.kts
if (alpnBootVersion != null) { val alpnBootJar = configurations.detachedConfiguration( dependencies.create("org.mortbay.jetty.alpn:alpn-boot:$alpnBootVersion") ).singleFile tasks.withType<Test> { jvmArgs("-Xbootclasspath/p:${alpnBootJar}") } } } android { compileSdk = 35 namespace = "okhttp.okhttp3" defaultConfig { minSdk = 21
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 12.3K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.kotlin-dsl-gradle-plugin.gradle.kts
implementation("gradlebuild:gradle-plugin") testImplementation("org.junit.vintage:junit-vintage-engine") testRuntimeOnly("org.junit.platform:junit-platform-launcher") } tasks.withType<KotlinCompile>().configureEach { compilerOptions { allWarningsAsErrors = true } } detekt { // overwrite the config file's location
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Nov 11 23:24:30 UTC 2025 - 1.6K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild.update-versions.gradle.kts
plugins { id("gradlebuild.module-identity") } tasks.named<UpdateDaemonJvm>("updateDaemonJvm") { languageVersion = JavaLanguageVersion.of(17) } tasks.withType<UpdateReleasedVersions>().configureEach { releasedVersionsFile = releasedVersionsFile() group = "Versioning" } tasks.register<UpdateReleasedVersions>("updateReleasedVersions") {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Oct 24 09:10:28 UTC 2025 - 2.3K bytes - Viewed (0) -
module-tests/build.gradle.kts
requires("java.logging") } module("com.squareup.okio:okio", "okio") { exportAllPackages() } } val testJavaVersion = System.getProperty("test.java.version", "21").toInt() tasks.withType<Test> { useJUnitPlatform() enabled = testJavaVersion > 8 javaLauncher.set(javaToolchains.launcherFor { languageVersion.set(JavaLanguageVersion.of(testJavaVersion)) }) } java {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Sep 21 06:45:42 UTC 2025 - 1.6K bytes - Viewed (0) -
build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts
configureSourcesVariant() configureTests() tasks.registerCITestDistributionLifecycleTasks() fun configureCompileDefaults() { tasks.withType<JavaCompile>().configureEach { options.compilerArgs.add("-parameters") configureCompileTask(options) } tasks.withType<GroovyCompile>().configureEach { groovyOptions.encoding = "utf-8" configureCompileTask(options) } } /**
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Dec 19 06:44:41 UTC 2025 - 18.9K bytes - Viewed (0) -
build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-public-libraries.gradle.kts
publishNormalizedToLocalRepository() } } val pgpSigningKey: Provider<String> = providers.environmentVariable("PGP_SIGNING_KEY") val signArtifacts: Boolean = !pgpSigningKey.orNull.isNullOrEmpty() tasks.withType<Sign>().configureEach { isEnabled = signArtifacts } signing { useInMemoryPgpKeys( project.providers.environmentVariable("PGP_SIGNING_KEY").orNull,
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Oct 30 16:56:31 UTC 2025 - 5.7K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild.distribution-testing.gradle.kts
parameters.gradleVersion = gradleModule.identity.version.map { it.version } parameters.homeDir = intTestHomeDir } fun Gradle.rootBuild(): Gradle = parent.let { it?.rootBuild() ?: this } tasks.withType<DistributionTest>().configureEach { shouldRunAfter("test") setJvmArgsOfTestJvm() setSystemPropertiesOfTestJVM("default") configureGradleTestEnvironment() addSetUpAndTearDownActions() }Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Aug 18 18:02:41 UTC 2025 - 3.8K bytes - Viewed (0)