Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6735101
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:58:06+00:00 2026-05-26T10:58:06+00:00

We have an old project that is set up like this: . ├── customizationProject

  • 0

We have an old project that is set up like this:

.
├── customizationProject
│   ├── ejb
│   └── services
├── projectA
│   ├── ejb
│   └── shared
├── projectB
│   └── ejb
└── projectC
    ├── ejb
    └── services

The idea is that the customizationProject is where the final assembly of the delivered application happends, there might in fact be multiple customizationProjects and they might include multiple configurations. That, however is not the problem I’m tyring to solve.

I want to make the customizationProject the logical root project of the gradle projects.
How do I configure the individual projects, so that they
a) know they’re part of a multiproject build
b) can be properly executed, with different scopes, e.g. just running the tests of one subproject, while also allowing all tests to be executed accross all the projects?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T10:58:06+00:00Added an answer on May 26, 2026 at 10:58 am

    This is a fairly easy structure to support with Gradle. Add a settings.gradle file to your customizationProject directory with this content:

    includeFlat 'projectA', 'projectB', 'projectC'
    

    And you can confirm the project structure from the command line:

    $ gradle projects
    :projects
    
    ------------------------------------------------------------
    Root Project
    ------------------------------------------------------------
    
    Root project 'customizationProject'
    +--- Project ':projectA'
    +--- Project ':projectB'
    \--- Project ':projectC'
    

    The description of the includeFlat method is available in the Gradle documentation.

    Hope that helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an old EJB (2.1) project that uses xdoclet (1.2.3) to generate the
I have an old project that is mixed C and C++. It makes extensive
I have a very old project that includes the source from another project directly,
I have an old project at our company that uses shell scripting a lot.
I have inherited a new (old?) Winforms project and would like to put it
I have an old project developed with Xcode 4, i remember doing xarchive on
I have an old C++ project and I'm having problem building it. For a
I have an old c++ project compiled with VC6. I need to statically link
I have an old Xcode project which contains a CoreData model (containing a version
I have a webservice project (old asmx technology) in which I have a class

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.