File tree Expand file tree Collapse file tree 4 files changed +19
-17
lines changed Expand file tree Collapse file tree 4 files changed +19
-17
lines changed Original file line number Diff line number Diff line change 23
23
distribution : ' zulu'
24
24
java-version-file : .github/workflows/.java-version
25
25
26
- - run : ./gradlew build dokkaHtml
26
+ - run : ./gradlew build dokkaGenerate
27
27
28
28
- run : ./gradlew publish
29
29
if : ${{ github.ref == 'refs/heads/trunk' && github.repository == 'cashapp/turbine' }}
Original file line number Diff line number Diff line change 25
25
ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.SONATYPE_PASSWORD_APP_CASH }}
26
26
ORG_GRADLE_PROJECT_signingInMemoryKey : ${{ secrets.GPG_SECRET_KEY }}
27
27
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword : ${{ secrets.GPG_SECRET_PASSPHRASE }}
28
- run : ./gradlew dokkaHtml publish
28
+ run : ./gradlew dokkaGenerate publish
29
29
30
30
- name : Extract release notes
31
31
id : release_notes
Original file line number Diff line number Diff line change @@ -51,17 +51,26 @@ kotlin {
51
51
tvosSimulatorArm64()
52
52
tvosX64()
53
53
54
- wasmJs()
55
- wasmWasi {
56
- nodejs()
57
- }
54
+ wasmJs(). nodejs()
55
+ wasmWasi(). nodejs()
58
56
59
57
watchosArm32()
60
58
watchosArm64()
61
59
watchosDeviceArm64()
62
60
watchosSimulatorArm64()
63
61
watchosX64()
64
62
63
+ applyDefaultHierarchyTemplate {
64
+ it. group(" common" ) {
65
+ it. group(' nonJvm' ) {
66
+ it. group(' native' ) {}
67
+ it. withJs()
68
+ it. withWasmJs()
69
+ it. withWasmWasi()
70
+ }
71
+ }
72
+ }
73
+
65
74
sourceSets {
66
75
commonMain {
67
76
dependencies {
@@ -74,9 +83,6 @@ kotlin {
74
83
implementation ' org.jetbrains.kotlin:kotlin-test'
75
84
}
76
85
}
77
- nonJvmTest {
78
- dependsOn(commonTest)
79
- }
80
86
}
81
87
82
88
sourceSets. matching { it. name. endsWith(" Test" ) }. configureEach {
@@ -86,13 +92,6 @@ kotlin {
86
92
optIn(' kotlinx.coroutines.ExperimentalCoroutinesApi' )
87
93
}
88
94
}
89
-
90
- targets. each { target ->
91
- if (target. platformType == KotlinPlatformType . common) return
92
- if (target. platformType != KotlinPlatformType . jvm) {
93
- target. compilations. test. defaultSourceSet. dependsOn(sourceSets. nonJvmTest)
94
- }
95
- }
96
95
}
97
96
98
97
spotless {
@@ -104,7 +103,7 @@ spotless {
104
103
}
105
104
}
106
105
107
- dokkaHtml {
106
+ dokka {
108
107
dokkaSourceSets {
109
108
configureEach {
110
109
skipDeprecated. set(true )
Original file line number Diff line number Diff line change @@ -26,3 +26,6 @@ POM_DEVELOPER_NAME=CashApp
26
26
POM_DEVELOPER_URL =https://github.com/cashapp/
27
27
28
28
kotlin.mpp.stability.nowarn =true
29
+
30
+ org.jetbrains.dokka.experimental.gradle.pluginMode =V2Enabled
31
+ org.jetbrains.dokka.experimental.gradle.pluginMode.noWarn =true
You can’t perform that action at this time.
0 commit comments