Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for withType (0.22 sec)

  1. 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)
            }
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 26 06:43:17 GMT 2023
    - 810 bytes
    - Viewed (0)
  2. 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>())
    }
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jan 30 10:26:21 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts

    }
    
    val moduleIdentity = the<ModuleIdentityExtension>()
    
    configureJarTasks()
    
    pluginManager.withPlugin("java-base") {
        configureClasspathManifestGeneration()
    }
    
    fun configureJarTasks() {
        tasks.withType<Jar>().configureEach {
            archiveBaseName = moduleIdentity.baseName
            archiveVersion = moduleIdentity.version.map { it.baseVersion.version }
            manifest.attributes(
                mapOf(
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Mar 28 20:26:58 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  4. 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") }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Mar 06 15:37:11 GMT 2024
    - 867 bytes
    - Viewed (0)
  5. build-logic/integration-testing/src/main/kotlin/gradlebuild.distribution-testing.gradle.kts

        parameters.gradleVersion = moduleIdentity.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()
    }
    
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Tue Nov 28 20:40:40 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  6. build-logic/build-update-utils/src/main/kotlin/gradlebuild.update-versions.gradle.kts

    import gradlebuild.buildutils.tasks.UpdateAgpVersions
    import gradlebuild.buildutils.tasks.UpdateKotlinVersions
    import gradlebuild.buildutils.tasks.UpdateReleasedVersions
    import java.net.URL
    
    
    tasks.withType<UpdateReleasedVersions>().configureEach {
        releasedVersionsFile = releasedVersionsFile()
        group = "Versioning"
    }
    
    tasks.register<UpdateReleasedVersions>("updateReleasedVersions") {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Nov 29 10:17:36 GMT 2023
    - 2K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java

            overrideDokkaVersion(project, extension);
            setMemoryForWorkers(project);
        }
    
        private static void setMemoryForWorkers(Project project) {
            project.getTasks().withType(DokkatooGenerateTask.class).configureEach(task -> {
                task.getWorkerMinHeapSize().set("512m");
                task.getWorkerMaxHeapSize().set("2g");
            });
        }
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 15 14:00:14 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  8. .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 })
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Oct 10 05:36:54 GMT 2020
    - 745 bytes
    - Viewed (0)
  9. build-logic/jvm/src/main/kotlin/gradlebuild/jvm/extension/UnitTestAndCompileExtension.kt

        /**
         * Enforces **Java 7** compatibility.
         */
        fun usedInToolingApi() {
            enforceCompatibility(7)
        }
    
        private
        fun enforceCompatibility(majorVersion: Int) {
            tasks.withType<JavaCompile>().configureEach {
                options.release = null
                options.compilerArgs.remove("-parameters")
                sourceCompatibility = "$majorVersion"
                targetCompatibility = "$majorVersion"
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Tue Jun 20 08:55:37 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  10. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.groovy-dsl-gradle-plugin.gradle.kts

    }
    
    tasks.withType<GroovyCompile>().configureEach {
        groovyOptions.apply {
            encoding = "utf-8"
            forkOptions.jvmArgs?.add("-XX:+HeapDumpOnOutOfMemoryError")
        }
        options.apply {
            isFork = true
            encoding = "utf-8"
            compilerArgs = mutableListOf("-Xlint:-options", "-Xlint:-path")
        }
    }
    
    tasks.withType<Test>().configureEach {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Oct 03 15:32:00 GMT 2023
    - 1.8K bytes
    - Viewed (0)
Back to top