Coder Social home page Coder Social logo

gradle-multiple-project-build-demo's Introduction

Gradle multiple project build

gradle-multiple-project-build-demo

This is a demo project. The goal was to set up one project that has a common code (library) shared between two (or more) projects.

Those projects (that share the same library) have some slight differences in the code, and have different dependencies.

The goal is to output 3 JAR files once the ./gradlew clean build command is executed:

  • One JAR for the library
  • Another one for project1
  • Another one for project2
  • ...

Projects

multiple-build (root project)

Root project.

common-library

Common library used by other projects.

subproject-one

First project that uses the common-library.

subproject-two

Second project that uses the common-library.

Building

From the repository root (in the root project) execute ./gradlew clean build.

The JAR file will be in build/libs folder of each project. The root project will have an empty build/libs folder.

Good reads

gradle-multiple-project-build-demo's People

Contributors

matejjelicdigacon avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.