Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for configureEach (0.08 sec)

  1. 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"
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 11.5K bytes
    - Viewed (1)
  2. build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-public-libraries.gradle.kts

    tasks.withType<Sign>().configureEach { isEnabled = signArtifacts }
    
    signing {
        useInMemoryPgpKeys(
            project.providers.environmentVariable("PGP_SIGNING_KEY").orNull,
            project.providers.environmentVariable("PGP_SIGNING_KEY_PASSPHRASE").orNull
        )
        publishing.publications.configureEach {
            if (signArtifacts) {
                signing.sign(this)
            }
        }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 30 16:56:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

                compatibilityRules.add(NullawayCompatibilityRule::class.java)
            }
        }
    }
    
    project.plugins.withType<JavaBasePlugin> {
        project.extensions.getByName<SourceSetContainer>("sourceSets").configureEach {
            val isMainSourceSet = (name == "main")
    
            val extension = this.extensions.create<ErrorProneSourceSetExtension>(
                "errorprone",
                project.objects.property<Boolean>()
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Oct 01 11:57:43 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.kotlin-dsl-gradle-plugin.gradle.kts

        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)
  5. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

    }
    
    tasks.withType<JavaCompile>().configureEach {
        options.release = provider {
            throw GradleException("This task '${name}' is not associated with a compilation. Associate it with a compilation on the '${JvmCompileExtension.NAME}' extension.")
        }
    }
    
    val gradleModule = the<GradleModuleExtension>()
    the<JvmCompileExtension>().apply {
        compilations {
            configureEach {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Dec 19 06:44:41 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  6. 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") {
        currentReleasedVersion = ReleasedVersion(
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Oct 24 09:10:28 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

        }
    
        private void generateUserManual(Project project, TaskContainer tasks, ProjectLayout layout, GradleDocumentationExtension extension) {
            tasks.withType(AsciidoctorTask.class).configureEach(task -> {
                if (task.getName().equals("asciidoctor")) {
                    // ignore this task
                    task.setEnabled(false);
                    return;
                }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 04 14:26:28 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top