Gradle

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
To raise new issues or bugs against Gradle, please use forums.gradle.org.
  • Gradle
  • GRADLE-2426

Idea-Plugin does not create IPR when specified in "allprojects" section eventhough this should affect the root project as well.

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Resolution: Unresolved
  • Affects Version/s: 1.1
  • Fix Version/s: None

Description

The following configuration does not generate an IPR file.

allprojects {
apply plugin: 'idea'
idea.project.jdkName = JAVA_VERSION 
idea.project.languageLevel = JAVA_VERSION 
idea.project.outputFile = file(rootProject.projectDir.path + '/.idea/' +  project.name + '.ipr')
idea.module.iml.generateTo = file(rootProject.projectDir.path + '/.idea/modules')
}

While this one does:

apply plugin: 'idea'
idea.project.jdkName = JAVA_VERSION 
idea.project.languageLevel = JAVA_VERSION 
idea.project.outputFile = file(rootProject.projectDir.path + '/.idea/' +  project.name + '.ipr')
idea.module.iml.generateTo = file(rootProject.projectDir.path + '/.idea/modules')

allprojects {
apply plugin: 'idea'
idea.module.iml.generateTo = file(rootProject.projectDir.path + '/.idea/modules')
}

Activity

  • All
  • Comments
  • History
  • Activity
  • TeamCity
  • Commits
  • Source
  • Reviews
There are no comments yet on this issue.

People

  • Assignee:
    Unassigned
    Reporter:
    Timo Mika Gläßer
Vote (0)
Watch (1)

Dates

  • Created:
    07/Aug/12 2:13 PM
    Updated:
    07/Aug/12 2:13 PM
  • Atlassian JIRA (v5.0.3#729-sha1:bf569e4)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Gradle. Try JIRA - bug tracking software for your team.