Description
Currently, the examples expect a testMavenRepo
property to be defined, which is automatically generated by the updateDokkatooExamplesGradleProperties
task in a gradle.properties
file. However, this file doesn't appear to be generated when adding the examples as includedBuild
s and running the Tests workflow - see this build step's logs:
Error resolving plugin [id: 'org.jetbrains.kotlin.jvm', version: '1.8.10']
> Cannot query the value of this provider because it has no value available.
Additionally, some examples might want to add custom properties of their own, or the plugins/code used (for e.g. Kotlin Multiplatform) expects a property (in this case, kotlin.mpp.androidSourceSetLayoutVersion=2
/kotlin.mpp.androidSourceSetLayoutVersion1.nowarn=true
to be set) to use a specific feature.
I'm not sure as to a better approach of doing this - maybe it could be defined as a custom property in a custom .properties
file, which can then be loaded in via java.util.Properties
, or maybe as an environment variable?