Discussion:
Conditional include of subprojects
nnanda
2013-11-28 22:52:19 UTC
Permalink
Hi All,

I have a maven multi-module project with following structure. I am in the
process of migrating to Gradle.



- We have multiple profiles inside AppBuild/pom.xml like shown below; and we
run our maven build from AppBuild with -P option for the profiles


Since I am new to Gradle, I am not able to decide what is the best way to go
about it. Now, I am thinking to put some conditional "include" in
settings.gradle based on some -P argument. Could someone help me how to go
about this? What is the best way with some examples.




-----
Thank you.
~ Niranjan
--
View this message in context: http://gradle.1045684.n5.nabble.com/Conditional-include-of-subprojects-tp5712079.html
Sent from the gradle-user mailing list archive at Nabble.com.
Luke Daley
2013-12-09 17:44:07 UTC
Permalink
Post by nnanda
Hi All,
I have a maven multi-module project with following structure. I am in the
process of migrating to Gradle.
- We have multiple profiles inside AppBuild/pom.xml like shown below; and we
run our maven build from AppBuild with -P option for the profiles
Since I am new to Gradle, I am not able to decide what is the best way to go
about it. Now, I am thinking to put some conditional "include" in
settings.gradle based on some -P argument. Could someone help me how to go
about this? What is the best way with some examples.
This mailing list is no longer active.

Please raise this via forums.gradle.org.
--
Luke Daley
Principal Engineer
http://gradleware.com
Loading...