Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for withType (0.26 sec)

  1. 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)
  2. 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)
  3. build-logic/jvm/src/main/kotlin/gradlebuild/jvm/extension/StrictCompileExtension.kt

        fun ignoreDeprecations() {
            tasks.withType<JavaCompile>().configureEach {
                options.compilerArgs.add("-Xlint:-deprecation")
            }
        }
    
        fun ignoreRawTypes() {
            tasks.withType<JavaCompile>().configureEach {
                options.compilerArgs.add("-Xlint:-rawtypes")
            }
        }
    
        fun ignoreAnnotationProcessing() {
            tasks.withType<JavaCompile>().configureEach {
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Thu Feb 22 11:17:19 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  4. 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;
                }
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Mar 01 05:46:51 GMT 2024
    - 17.7K bytes
    - Viewed (0)
Back to top