Projects used to run integration tests could be opened in or build independently by following these steps:
- open
gradle.properties
file of a specific project and change commented variables:dokka_it_kotlin_version
to required version of Kotlin Gradle Plugin, e.g 2.0.0dokka_it_dokka_version
to required version to Dokka Gradle plugin, e.g 1.9.20- replace all other commented properties if needed, like
dokka_it_android_gradle_plugin_version
- open
settings.gradle.kts
and replaceapply(from = "template.settings.gradle.kts")
withapply(from = "../template.settings.gradle.kts")
(so the path should be prefixed with../
) - (Optional) replace
/* %{DOKKA_IT_MAVEN_REPO}% */
with custom maven repositories likemavenLocal
intemplate.settings.gradle.kts
if dependencies should be resolved from places other than Maven Central. - Now it's possible to link a project in IDEA by right-clicking on
settings.gradle.kts
of a project and selectingLink Gradle Project
Note: for ui-showcase
project those 1 and 2 steps should be done for both root of the project and build-logic
.