```adeum { // this section added for AppDynamics ...
# compose
q
Copy code
adeum { // this section added for AppDynamics
    account {
        name 'value of name'
        licenseKey 'value of license key'
    }

   /* proguardMappingFileUpload {
        failBuildOnUploadFailure false
        enabled true
    }*/
}
this code is working fine on build.gradle file but we are trying to convert our build.gradle to .kts file and unfortunately unable to convert this code for .kts. Any one have idea to do this. #compose #kotlin #kts
c
The AppDynamics does not yet support Kotlin DSL apparently, so migrating will be a bit tricky for this part. I am not sure if the following block is setting the configuration correct, but you can try it and let me know:
Copy code
adeum {
    account(object : Closure<ADPluginExtension>(this) {
        fun doCall(conf: Account) {
            with(conf) {
                name = "some name"
                licenseKey = "value key"
            }
        }
    })
}
Please also note that there is a #gradle channel where you can post these kind of questions (probably). #compose is not the right topic.
q
@Christos Malliaridis your solution works brother, thank you so much but last thing we need to
Copy code
proguardMappingFileUpload {
        failBuildOnUploadFailure false
        enabled true
    }
this one as well ... for above i commented but we need that one too
c
You are welcome. The closest I can find in the
adeum
configuration from
com.appdynamics:appdynamics-gradle-plugin:23.7.1
is the following (again, I cannot test it to know if it works):
Copy code
adeum {

    //...

    symbolMappingFileUpload(object : Closure<ADPluginExtension>(this) {
        fun doCall(conf: ADPluginExtension.SymbolMapConfig) {
            with(conf) {
                enabled = true
                failBuildOnUploadFailure = false
            }
        }
    })
}