Skip to content

Commit 4dd9e43

Browse files
committed
Support AGP with Kotlin BuiltIn
- Update KotlinAdapter and AndroidAdapter to handle AGP with Kotlin built-in. - Add integration tests. - Update integration test infra to support filtering out AGP 9.
1 parent 0758d2e commit 4dd9e43

File tree

161 files changed

+15060
-5429
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

161 files changed

+15060
-5429
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
plugins {
2+
id("com.android.library") version "/* %{AGP_VERSION} */"
3+
id("org.jetbrains.dokka") version "/* %{DGP_VERSION} */"
4+
//kotlin("android") version "/* %{KGP_VERSION} */"
5+
}
6+
7+
android {
8+
namespace = "org.jetbrains.dokka.it.android"
9+
compileSdk = 33
10+
defaultConfig {
11+
minSdk = 21
12+
}
13+
}
14+
15+
dependencies {
16+
implementation("androidx.appcompat:appcompat:1.1.0")
17+
}
18+
19+
// WORKAROUND https://github.com/Kotlin/dokka/issues/3701
20+
afterEvaluate {
21+
dokka.dokkaSourceSets
22+
.matching { it.name == "debug" }
23+
.configureEach {
24+
sourceRoots.setFrom(emptyList<String>())
25+
}
26+
}

0 commit comments

Comments
 (0)