Skip to content

madmas/gradle-flavoured-artefacts

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

Flavoured Artefacts with Gradle

An example project to demonstrate how to use Gradle to build several artefacts with different dependencies for one application.

Explaining article

Please find the article that explains what this example project demonstrates at Karakun Developer Hub / Gradle: flavoured artefacts from a multi-module build

How to see it in action

  • checkout / clone

  • ./gradlew application:shadowJar

  • java -jar build/libs/application-customerC.jar

    s = Implementation or customer C
  • java -jar build/libs/application-customerB.jar

    s = Implementation or customer B
  • java -jar build/libs/application-customerA.jar

    s = Implementation or customer A

About

An example project to demonstrate how to use Gradle to build several artefacts with differend dependencies for one application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages