Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Gradle picks up all folders containing a build.gradle as submodules
  • Loading branch information
UrsKR committed Jul 8, 2013
1 parent 8b67d0b commit 1b42f7d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 51 deletions.
4 changes: 1 addition & 3 deletions README.md
Expand Up @@ -35,9 +35,7 @@ Run ``gradlew test``
> IntelliJ IDEA users best run this outside of the IDE, else it might not pick up all changes.
1. Run ``gradlew createModule``
2. In ``settings.gradle``, add your module name.
4. Regenerate your IDE's workspace as per the "Developing with..." sections above.
5. [Eclipse Only] Import the project.
2. Regenerate your IDE's workspace as per the "Developing with..." sections above.

Deployment
==========
Expand Down
54 changes: 6 additions & 48 deletions settings.gradle
@@ -1,48 +1,6 @@
include('Anathema',

'Platform',
'Platform_Swing',
'Platform_FX',
'GraphLayout',
'Platform_TreeFramework',
'Platform_SwingTree',

'Namegenerator',

'Campaign_Scribe',

'Hero_Abilities',
'Hero_Attributes',
'Hero_Charms',
'Hero_Combat',
'Hero_Combos',
'Hero_Concept',
'Hero_Experience',
'Hero_Health',
'Hero_Intimacies',
'Hero_Languages',
'Hero_OtherTraits',
'Hero_Specialties',
'Hero_Traits',

'Hero_Sheet',

'HeroType_Mortal',
'HeroType_Solar',

'Magic_Description',
'Charm_Cascades',
'Character_Cards',

'Engine_Character',
'Engine_Exalted',

'Character_Main',
'Character_Main_Impl',
'Character_Main_FX',
'Character_Main_Swing',

'Character_Equipment',
'Character_MartialArts',

'Integrationtest')
rootDir.eachDir { folder ->
def buildFile = new File(folder, "build.gradle")
if (buildFile.exists()){
include folder.getName()
}
}

0 comments on commit 1b42f7d

Please sign in to comment.