cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Mohsen.Farahani
Explorer

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'
    }
}

 

 

0 REPLIES 0
On-Demand Webinar
Discover new Splunk integrations and AI innovations for Cisco AppDynamics.


Register Now!

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here
Top Kudoed Authors