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

  • Home
  • SEARCH
  • 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 9232431
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T06:18:46+00:00 2026-06-18T06:18:46+00:00

I started using Gradle for multi-projects. However, the Gradle manual does not give many

  • 0

I started using Gradle for multi-projects. However, the Gradle manual does not give many hints for the best practice regarding the naming of subprojects.

I have the multiproject with the name ‘datalogger’ that consists of two subprojects ‘core’ and ‘entries’:

- datalogger
--- core
--- entries

When I build the project, I get the jars ‘core-1.0.jar’ and ‘entries-1.0.jar’. How do I manage that the naming is ‘datalogger-core-1.0.jar’ and ‘datalogger-entries-1.0.jar’ in a generic way? I know, I could change the name of the folders as follows:

- datalogger
--- datalogger-core
--- datalogger-entries

But that would not be regarded as good approach, I assume. I could also manually change the archivesBaseName of each project. But I would rather find a way to do this in a generic way, as mentioned before.

  • 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-06-18T06:18:48+00:00Added an answer on June 18, 2026 at 6:18 am
    subprojects {
        tasks.withType(Jar) {
            baseName = "datalogger-$project.name"
        }
    }
    

    Alternatively, you could set archivesBaseName in a similar way.

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

Sidebar

Related Questions

I started using LESS today. But it's kinda weird. This code does not work.
Before we started using Gradle, a multi-project (10-12) development effort within Eclipse successfully deployed,
I started using $('#myInput').bind('input', function() { but this does not work in IE. What
I've recently started using Gradle and replacing my existing Maven-based projects. I have had
I started using backbone for my projects. I finished a simple project and it
We started using Multi-Master Replication Manager for MySQL, and I am wondering whether it
I started using ACRA for my Android projects, but there's a repeated error in
Started using PDO prepared statements not too long ago, and, as i understand, it
I started using Protobuf-Net in C# and WPF projects. I have a class that
I started using gVim a few weeks ago. From early on, I noticed however

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.