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!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...