gradle-subprojects | Example project of making Gradle build | Build Tool library
kandi X-RAY | gradle-subprojects Summary
kandi X-RAY | gradle-subprojects Summary
This is an example gradle setup for various tasks that are not well documented in other places, and to build a scale model of a larger Gradle setup I need for a couple projects. This Gradle setup has the following features: * Subproject built from the artifacts of the main project.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Gets the Foo property .
- Get the configuration .
- Gets a connectFoo and Hadoop .
- The main entry point .
gradle-subprojects Key Features
gradle-subprojects Examples and Code Snippets
Community Discussions
Trending Discussions on gradle-subprojects
QUESTION
Project Structure
root_project : user
sub_project : auth, resource.
sub_project: "auth" depend on "resource".
How to publish resource first in maven local & how to use its dependency in auth.
There are three build.gradle present in each project i.e user, auth, resource.
I need to build the whole project from the root project i.e user
Similar question is also asked here, but its not solve my problem :https://discuss.gradle.org/t/howto-control-build-order-of-gradle-subprojects-submodules/26762
ANSWER
Answered 2018-Nov-16 at 12:32In Gradle you don't need to publish artifacts into ~/.m2
to use them in the same project. Just use cross-project dependencies:
user/settings.gradle:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gradle-subprojects
You can use gradle-subprojects like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the gradle-subprojects component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page