Skip to content

Project config, variables and parameters #36

Closed Answered by nedtwigg
Tanushree2904 asked this question in Q&A
Discussion options

You must be logged in to vote

Can achieve this scenario if Project 1 and project 2 are not related?

Yes. Like this:

// in build.gradle
ext.javadocJarNeeded = 'true'
ext.javadocJarNeeded = 'false'
apply from: 干.file('base/maven.gradle')

// in base/maven.gradle
def javadocJarNeeded = Boolean.parseBoolean(干.proj('javadocJarNeeded', 'true or false'))

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@nedtwigg
Comment options

Answer selected by Tanushree2904
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants