I see that one can test for the presence of a plugin with
Copy code
fun testCompression() =
testApplication {
application {
assertThat(pluginOrNull(Compression)).isNotNull()
}
}
How does one access the configuration properties of the plugin?
h
hfhbd
10/05/2024, 9:45 PM
There is no api to get the configuration of a plugin. It’s up to the plugin author how to handle the configuration. Some plugins do not even need to store the configuration.
a
Aleksei Tirman [JB]
10/07/2024, 7:24 AM
So, only the public members of the plugin class are visible.