Multiple Build configurations

Answered

I use ./gradlew clean build to build the binary of my intellij plugin. I want to pass some arguments in this command like ./gradlew clean build --prod or ./gradlew clean build --dev. Now, I want to access these arguments inside my plugin's codebase and have different functionality based on these arguments. For example in my code I want to have (if(args.isEquals("prod")) {} else {}) 

0
3 comments

I forgot about it and also I didn't understand the answer there. 

0

I edited my last message in the old topic. If it is unclear, I suggest reading about resources filtering in Gradle.

Please continue in the old topic in case of additional questions. I'm closing this one.

0

Post is closed for comments.