Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-619

The GradleManifest would have toFile() method

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 0.7
    • Fix Version/s: 0.9-rc-1

      Description

      This method is useful when you have to pass reference to the MANIFEST into ant task, eg.:

      ant.taskdef(name: "oneJar", classname: "com.simontuffs.onejar.ant.OneJarTask", classpath: configurations.oneJar.asPath)
      ant.oneJar(destfile: new File(distsDir, name + "-" + version + ".jar"), manifest: manifest.toFile()) {
      main()

      { fileset(dir: classesDir) }

      lib()

      { fileset(dir: libsDir) }

      }

        Attachments

          Activity

            People

            Assignee:
            hans_d Hans Dockter
            Reporter:
            jiramares Jiri Mares
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: