File tree Expand file tree Collapse file tree 4 files changed +18
-28
lines changed Expand file tree Collapse file tree 4 files changed +18
-28
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 1
1
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2
- import org.jetbrains.kotlin.gradle.plugin.KotlinPlatformType
3
2
import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinJvmCompilation
4
3
5
4
plugins {
@@ -51,17 +50,26 @@ kotlin {
51
50
tvosSimulatorArm64()
52
51
tvosX64()
53
52
54
- wasmJs()
55
- wasmWasi {
56
- nodejs()
57
- }
53
+ wasmJs(). nodejs()
54
+ wasmWasi(). nodejs()
58
55
59
56
watchosArm32()
60
57
watchosArm64()
61
58
watchosDeviceArm64()
62
59
watchosSimulatorArm64()
63
60
watchosX64()
64
61
62
+ applyDefaultHierarchyTemplate {
63
+ it. group(" common" ) {
64
+ it. group(' nonJvm' ) {
65
+ it. group(' native' ) {}
66
+ it. withJs()
67
+ it. withWasmJs()
68
+ it. withWasmWasi()
69
+ }
70
+ }
71
+ }
72
+
65
73
sourceSets {
66
74
commonMain {
67
75
dependencies {
@@ -74,9 +82,6 @@ kotlin {
74
82
implementation ' org.jetbrains.kotlin:kotlin-test'
75
83
}
76
84
}
77
- nonJvmTest {
78
- dependsOn(commonTest)
79
- }
80
85
}
81
86
82
87
sourceSets. matching { it. name. endsWith(" Test" ) }. configureEach {
@@ -86,13 +91,6 @@ kotlin {
86
91
optIn(' kotlinx.coroutines.ExperimentalCoroutinesApi' )
87
92
}
88
93
}
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
94
}
97
95
98
96
spotless {
@@ -103,14 +101,3 @@ spotless {
103
101
])
104
102
}
105
103
}
106
-
107
- dokkaHtml {
108
- dokkaSourceSets {
109
- configureEach {
110
- skipDeprecated. set(true )
111
- externalDocumentationLink {
112
- url. set(new URL (' https://kotlin.github.io/kotlinx.coroutines/' ))
113
- }
114
- }
115
- }
116
- }
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