Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for sourcesJar (0.19 sec)

  1. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryDocumentationIntegrationTest.groovy

                }
            '''
            then:
            succeeds(':a:javadocJar')
        }
    
        def "sourcesJar task is only created when publishing is requested"() {
            when:
            fails(':a:sourcesJar')
    
            then:
            failure.assertHasDescription("Cannot locate tasks that match ':a:sourcesJar' as task 'sourcesJar' not found in project ':a'.")
    
            and:
            verifyAll(receivedProblem) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/build.gradle.kts

        id("gradlebuild.publish-public-libraries")
        id("gradlebuild.shaded-jar")
    }
    
    description = "Gradle Tooling API - the programmatic API to invoke Gradle"
    
    gradlebuildJava.usedInToolingApi()
    
    tasks.named<Jar>("sourcesJar") {
        // duplicate package-info.java because of split packages
        duplicatesStrategy = DuplicatesStrategy.EXCLUDE
    }
    
    shadedJar {
        shadedConfiguration.exclude(mapOf("group" to "org.slf4j", "module" to "slf4j-api"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. testing/internal-testing/src/main/groovy/org/gradle/util/internal/Resources.java

            if (!destDir.mkdir()) {
                throw new IOException("Could not create root unzip directory " + destDir);
            }
    
            try (JarFile sourceJar = new JarFile(sourceJarPath)) {
                for (JarEntry sourceJarEntry : Collections.list(sourceJar.entries())) {
                    File currFile = new File(destDir, sourceJarEntry.getName());
                    if (sourceJarEntry.isDirectory()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ChangesByGradleFileWatchingIntegrationTest.groovy

                    inputDirectory = sourceTask.outputDir
                    outputFile = file("build/consumer.txt")
                }
            """
    
            def sourcesDir = file("sources")
            def sourceFile = sourcesDir.file("source.txt").createFile()
            def outputFile = file("build/output/output.txt")
    
            when:
            withWatchFs().run ":consumer"
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top