Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/unknown Android classes #76

Merged
merged 27 commits into from
May 29, 2023
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
58230ca
start setting up Android integration test project
aSemy May 21, 2023
f7c96a8
refactor DokkatooExampleProjects convention plugin so that the `gradl…
aSemy May 21, 2023
8ad738d
enable AndroidX in Android IT project
aSemy May 21, 2023
e2301e7
simplify UpdateDokkatooExampleGradleProperties
aSemy May 21, 2023
dd459f0
move DokkatooExampleProjects task group
aSemy May 21, 2023
264613a
tidy up buildsrc code
aSemy May 21, 2023
5a2c4a3
fix android-it project
aSemy May 21, 2023
01121c7
mostly fix missing Android classes?
aSemy May 21, 2023
3b5fe6a
tidy up IJ dir exclusions
aSemy May 21, 2023
9ff6679
incremental improvement to fix Android implementation...
aSemy May 22, 2023
74554b6
update logo src
aSemy May 22, 2023
8aa6dab
tidy DokkatooKotlinAdapter
aSemy May 22, 2023
d30db41
update api dump
aSemy May 22, 2023
0b18c52
add deprecation for setSourceSetname()
aSemy May 22, 2023
0600a2f
modify deprecation of sourceSetName setter
aSemy May 22, 2023
487f39b
remove unused providers from KotlinSourceSetDetails
aSemy May 22, 2023
ae5a8f0
tidy up code
aSemy May 22, 2023
8de3690
tidy up buildSrc example project utils
aSemy May 22, 2023
96e8c53
add Android SDK setup step
aSemy May 22, 2023
607c8c1
refactor DokkatooAndroidAdapter to prevent Caused by: org.gradle.inte…
aSemy May 22, 2023
c378cbf
update DokkaSourceSetBuilderTest. listOf() -> setOf()
aSemy May 22, 2023
8895084
try refining the ANDROID_SDK value setter, to help on CI/CD
aSemy May 22, 2023
528ae97
remove commented out mavenLocal() in it-project
aSemy May 22, 2023
809a07a
refactor template projects setup and Android local.properties utils
aSemy May 28, 2023
b382122
Merge remote-tracking branch 'origin/main' into fix/unknown_android_c…
aSemy May 28, 2023
5fe9e0c
tidy `examples/build.gradle.kts`
aSemy May 29, 2023
cf3a0b8
tidy integration-tests build.gradle.kts
aSemy May 29, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update DokkaSourceSetBuilderTest. listOf() -> setOf()
  • Loading branch information
aSemy committed May 22, 2023
commit c378cbfe480edc134c5e1d582ea198c8d847e15b
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class DokkaSourceSetBuilderTest : FunSpec({
}

val caughtException = shouldThrow<MissingValueException> {
DokkaSourceSetBuilder.buildAll(listOf(sourceSetSpec))
DokkaSourceSetBuilder.buildAll(setOf(sourceSetSpec))
}

caughtException.message shouldContain "Cannot query the value of property 'url' because it has no value available"
Expand All @@ -54,7 +54,7 @@ class DokkaSourceSetBuilderTest : FunSpec({
}

val caughtException = shouldThrow<MissingValueException> {
DokkaSourceSetBuilder.buildAll(listOf(sourceSetSpec))
DokkaSourceSetBuilder.buildAll(setOf(sourceSetSpec))
}

caughtException.message shouldContain "Cannot query the value of property 'packageListUrl' because it has no value available"
Expand All @@ -68,7 +68,7 @@ class DokkaSourceSetBuilderTest : FunSpec({
enabled.set(false)
}

DokkaSourceSetBuilder.buildAll(listOf(sourceSetSpec)).shouldBeSingleton { sourceSet ->
DokkaSourceSetBuilder.buildAll(setOf(sourceSetSpec)).shouldBeSingleton { sourceSet ->
sourceSet.externalDocumentationLinks.shouldForAll { link ->
link.url shouldNotBeEqual linkSpec.url.get().toURL()
link.packageListUrl shouldNotBeEqual linkSpec.packageListUrl.get().toURL()
Expand All @@ -93,7 +93,7 @@ class DokkaSourceSetBuilderTest : FunSpec({
}
}

val sourceSet = DokkaSourceSetBuilder.buildAll(listOf(sourceSetSpec)).single()
val sourceSet = DokkaSourceSetBuilder.buildAll(setOf(sourceSetSpec)).single()

sourceSet.sourceLinks.shouldBeSingleton { sourceLink ->
sourceLink.remoteUrl shouldBe URI("https://github.com/adamko-dev/dokkatoo/").toURL()
Expand All @@ -116,7 +116,7 @@ class DokkaSourceSetBuilderTest : FunSpec({
}

val caughtException = shouldThrow<MissingValueException> {
DokkaSourceSetBuilder.buildAll(listOf(sourceSetSpec))
DokkaSourceSetBuilder.buildAll(setOf(sourceSetSpec))
}

caughtException.message.shouldContainAll(
Expand All @@ -138,7 +138,7 @@ class DokkaSourceSetBuilderTest : FunSpec({
}
}

val link = DokkaSourceSetBuilder.buildAll(listOf(sourceSetSpec))
val link = DokkaSourceSetBuilder.buildAll(setOf(sourceSetSpec))
.single()
.sourceLinks
.single()
Expand All @@ -156,7 +156,7 @@ class DokkaSourceSetBuilderTest : FunSpec({
}

val caughtException = shouldThrow<MissingValueException> {
DokkaSourceSetBuilder.buildAll(listOf(sourceSetSpec))
DokkaSourceSetBuilder.buildAll(setOf(sourceSetSpec))
}

caughtException.message shouldContain "Cannot query the value of property 'remoteUrl' because it has no value available"
Expand All @@ -173,7 +173,7 @@ class DokkaSourceSetBuilderTest : FunSpec({
}
}

val sourceSet = DokkaSourceSetBuilder.buildAll(listOf(sourceSetSpec)).single()
val sourceSet = DokkaSourceSetBuilder.buildAll(setOf(sourceSetSpec)).single()

sourceSet.sourceLinks.shouldBeSingleton { sourceLink ->
sourceLink.remoteUrl shouldBe URI("https://github.com/adamko-dev/dokkatoo/").toURL()
Expand Down