-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into dependson
- Loading branch information
Showing
150 changed files
with
9,878 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
dokka-integration-tests/gradle/projects/it-android-compose/build.gradle.kts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
plugins { | ||
alias(libs.plugins.android.library) apply false | ||
alias(libs.plugins.kotlin.multiplatform) apply false | ||
|
||
if ("/* %{KGP_VERSION} */".startsWith("2.")) { | ||
id("org.jetbrains.kotlin.plugin.compose") version "/* %{KGP_VERSION} */" apply false | ||
} | ||
alias(libs.plugins.compose.multiplatform) apply false | ||
|
||
id("org.jetbrains.dokka") version "/* %{DGP_VERSION} */" | ||
} | ||
|
||
dependencies { | ||
dokka(project(":core")) | ||
dokka(project(":material3")) | ||
} |
45 changes: 45 additions & 0 deletions
45
dokka-integration-tests/gradle/projects/it-android-compose/core/build.gradle.kts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
plugins { | ||
alias(libs.plugins.android.library) | ||
alias(libs.plugins.kotlin.multiplatform) | ||
id("org.jetbrains.dokka") | ||
|
||
if ("/* %{KGP_VERSION} */".startsWith("2.")) { | ||
id("org.jetbrains.kotlin.plugin.compose") | ||
} | ||
alias(libs.plugins.compose.multiplatform) | ||
} | ||
|
||
group = "org.dokka.it.android.kmp" | ||
version = "1.0" | ||
|
||
android { | ||
namespace = "org.dokka.it.android.kmp" | ||
|
||
buildTypes { | ||
release { | ||
isMinifyEnabled = false | ||
proguardFiles( | ||
getDefaultProguardFile("proguard-android-optimize.txt"), | ||
"proguard-rules.pro" | ||
) | ||
} | ||
} | ||
} | ||
|
||
kotlin { | ||
jvmToolchain(17) | ||
|
||
androidTarget { | ||
publishLibraryVariants("release") | ||
} | ||
|
||
sourceSets { | ||
commonMain { | ||
dependencies { | ||
implementation(compose.runtime) | ||
implementation(compose.foundation) | ||
implementation(compose.animation) | ||
} | ||
} | ||
} | ||
} |
2 changes: 2 additions & 0 deletions
2
...gration-tests/gradle/projects/it-android-compose/core/src/androidMain/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest /> |
12 changes: 12 additions & 0 deletions
12
...tegration-tests/gradle/projects/it-android-compose/core/src/commonMain/kotlin/MenuItem.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package org.dokka.it.android.kmp.core | ||
|
||
import androidx.compose.runtime.Stable | ||
import androidx.compose.ui.graphics.vector.ImageVector | ||
|
||
@Stable | ||
public data class MenuItem( | ||
val label: String, | ||
val imageVector: ImageVector, | ||
val onClick: () -> Unit, | ||
val isImportant: Boolean, | ||
) |
103 changes: 103 additions & 0 deletions
103
dokka-integration-tests/gradle/projects/it-android-compose/expectedData/html/core/index.html
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
32 changes: 32 additions & 0 deletions
32
...tegration-tests/gradle/projects/it-android-compose/expectedData/html/core/navigation.html
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.