Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 31 for withType (0.06 sec)

  1. build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-defaults.gradle.kts

    val artifactoryUserName
        get() = project.providers.gradleProperty("artifactoryUserName").orNull
    
    val artifactoryUserPassword
        get() = project.providers.gradleProperty("artifactoryUserPassword").orNull
    
    tasks.withType<AbstractPublishToMaven>().configureEach {
        val noUpload = project.gradleProperty("noUpload")
        this.onlyIf { !noUpload.map { it == "true" }.orElse(false).get() }
        if (name.endsWith("ToRemoteRepository")) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Jul 17 16:12:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. build-logic/integration-testing-kotlin/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle-integ-tests.gradle.kts

    import gradlebuild.integrationtests.tasks.IntegrationTest
    
    plugins {
        id("gradlebuild.integration-tests")
    }
    
    tasks.withType<IntegrationTest>().configureEach {
        // See AbstractKotlinIntegrationTest
        "kotlinDslTestsExtraRepo".let { propName ->
            System.getProperty(propName)?.let { systemProperty(propName, it) }
        }
    }
    
    dependencies {
        integTestRuntimeOnly(project(":kotlin-dsl-plugins")) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Dec 30 14:53:14 UTC 2024
    - 756 bytes
    - Viewed (0)
  3. build-logic-commons/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts

    configurations.all {
        withDependencies {
            remove(project.dependencies.gradleApi())
            remove(project.dependencies.gradleTestKit())
        }
    }
    
    publishing.publications.withType<MavenPublication>().configureEach {
        if (name == "pluginMaven") {
            groupId = project.group.toString()
            artifactId = gradleModule.identity.baseName.get()
        }
        pom {
            licenses {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Jul 02 12:28:02 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.test-retry.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    plugins {
        id("org.gradle.test-retry")
    }
    
    if (System.getenv().containsKey("CI")) {
        tasks.withType<Test>().configureEach {
            retry {
                maxRetries.set(2)
            }
        }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Apr 26 06:43:17 UTC 2023
    - 810 bytes
    - Viewed (0)
  5. 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)
  6. build-logic/build-update-utils/src/main/kotlin/gradlebuild.wrapper.gradle.kts

    import gradlebuild.basics.capitalize
    import com.google.gson.Gson
    import java.net.URI
    
    wrapperUpdateTask("nightly", "nightly")
    wrapperUpdateTask("rc", "release-candidate")
    wrapperUpdateTask("current", "current")
    
    tasks.withType<Wrapper>().configureEach {
        val jvmOpts = "-Dfile.encoding=UTF-8"
        inputs.property("jvmOpts", jvmOpts)
        doLast {
            val optsEnvVar = "DEFAULT_JVM_OPTS"
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Sep 17 08:58:33 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.reproducible-archives.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    // Ensure the archives produced are reproducible
    tasks.withType<AbstractArchiveTask>().configureEach {
        isPreserveFileTimestamps = false
        isReproducibleFileOrder = true
        dirPermissions { unix("0755") }
        filePermissions { unix("0644") }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Mar 06 15:37:11 UTC 2024
    - 867 bytes
    - Viewed (0)
  8. build-logic/jvm/src/main/kotlin/gradlebuild.strict-compile.gradle.kts

    extensions.create<StrictCompileExtension>("strictCompile")
    
    val strictCompilerArgs = listOf("-Werror", "-Xlint:all", "-Xlint:-options", "-Xlint:-serial", "-Xlint:-classfile", "-Xlint:-try")
    
    tasks.withType<JavaCompile>().configureEach {
        // Generated classes may not adhere to the strict no-warning policy that we apply to handwritten code
        // For example, external JMH plugin generates code that produces compiler warnings
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Dec 15 20:21:31 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. .github/workflows/codeql-analysis.init.gradle

     * 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.
     */
    
    allprojects {
        tasks.withType(JavaCompile).configureEach {
            outputs.doNotCacheIf("CodeQL scanning", { true })
        }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sat Oct 10 05:36:54 UTC 2020
    - 745 bytes
    - Viewed (0)
  10. container-tests/build.gradle.kts

    plugins {
      kotlin("jvm")
    }
    
    val platform = System.getProperty("okhttp.platform", "jdk9")
    val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
    
    tasks.withType<Test> {
      useJUnitPlatform()
      onlyIf("By default not in CI") {
        System.getenv("CI") == null
          || (project.hasProperty("containerTests") && project.property("containerTests").toString().toBoolean())
      }
    
      jvmArgs(
        "-Dokhttp.platform=$platform",
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Mar 17 14:46:34 UTC 2024
    - 1.1K bytes
    - Viewed (1)
Back to top