diff --git a/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/build.gradle.kts b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/build.gradle.kts new file mode 100644 index 0000000000..e27586013b --- /dev/null +++ b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/build.gradle.kts @@ -0,0 +1,26 @@ +plugins { + id("com.android.library") version "/* %{AGP_VERSION} */" + id("org.jetbrains.dokka") version "/* %{DGP_VERSION} */" + //kotlin("android") version "/* %{KGP_VERSION} */" +} + +android { + namespace = "org.jetbrains.dokka.it.android" + compileSdk = 33 + defaultConfig { + minSdk = 21 + } +} + +dependencies { + implementation("androidx.appcompat:appcompat:1.1.0") +} + +// WORKAROUND https://github.com/Kotlin/dokka/issues/3701 +afterEvaluate { + dokka.dokkaSourceSets + .matching { it.name == "debug" } + .configureEach { + sourceRoots.setFrom(emptyList()) + } +} diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/abstract-class-kotlin.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/abstract-class-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/abstract-class-kotlin.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/abstract-class-kotlin.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/abstract-class.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/abstract-class.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/abstract-class.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/abstract-class.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/anchor-copy-icon.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/anchor-copy-icon.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/anchor-copy-icon.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/anchor-copy-icon.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/annotation-kotlin.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/annotation-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/annotation-kotlin.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/annotation-kotlin.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/annotation.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/annotation.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/annotation.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/annotation.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/arrow-down.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/arrow-down.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/arrow-down.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/arrow-down.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/burger.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/burger.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/burger.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/burger.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/check.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/check.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/check.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/check.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/checkbox-off.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/checkbox-off.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/checkbox-off.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/checkbox-off.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/checkbox-on.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/checkbox-on.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/checkbox-on.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/checkbox-on.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/class-kotlin.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/class-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/class-kotlin.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/class-kotlin.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/class.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/class.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/class.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/class.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/copy-icon.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/copy-icon.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/copy-icon.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/copy-icon.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/cross.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/cross.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/cross.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/cross.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/enum-kotlin.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/enum-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/enum-kotlin.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/enum-kotlin.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/enum.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/enum.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/enum.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/enum.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/exception-class.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/exception-class.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/exception-class.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/exception-class.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/field-value.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/field-value.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/field-value.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/field-value.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/field-variable.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/field-variable.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/field-variable.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/field-variable.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/filter.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/filter.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/filter.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/filter.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/function.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/function.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/function.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/function.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/go-to-top-icon.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/go-to-top-icon.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/go-to-top-icon.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/go-to-top-icon.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/homepage.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/homepage.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/homepage.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/homepage.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/interface-kotlin.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/interface-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/interface-kotlin.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/interface-kotlin.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/interface.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/interface.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/interface.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/interface.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/logo-icon.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/logo-icon.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/logo-icon.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/logo-icon.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/object.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/object.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/object.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/object.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/placeholder.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/placeholder.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/placeholder.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/placeholder.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/success-icon.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/success-icon.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/success-icon.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/success-icon.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/theme-toggle.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/theme-toggle.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/theme-toggle.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/theme-toggle.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/typealias-kotlin.svg b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/typealias-kotlin.svg similarity index 100% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/images/typealias-kotlin.svg rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/images/typealias-kotlin.svg diff --git a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/index.html b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/index.html similarity index 92% rename from dokka-integration-tests/gradle/projects/it-android/expectedData/html/index.html rename to dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/index.html index 614a4761ac..db7dd0040c 100644 --- a/dokka-integration-tests/gradle/projects/it-android/expectedData/html/index.html +++ b/dokka-integration-tests/gradle/projects/it-android-kotlin-jvm-builtin/expectedData/html/index.html @@ -48,7 +48,7 @@