Splunk AppDynamics

How can I have different adeum configs for different build variants ?

Mohsen_Farahani
New Member

Hi, I'm adding AppDynamics to our android project. We have different build variants, e. g. "release", "debug", "inhouse", ... and we also have different "accountName" and "licenseKey" for each variant. I wanted to know how can I provide variant specific config for "adeum" config block in build.gradle file. 

Note: I'm able to switch between App Keys when initializing instrumentation in launcher activity. but I don't know how to switch between adeum gradle plugin config for each build type. 

adeum {
    account {
        name 'account2'
        licenseKey 'license2'
    }
}
adeum {
    account {
        name 'account1'
        licenseKey 'license1'
    }
}
Labels (1)
Tags (1)
0 Karma
Get Updates on the Splunk Community!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...