File tree Expand file tree Collapse file tree 4 files changed +28
-0
lines changed Expand file tree Collapse file tree 4 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -143,3 +143,10 @@ tasks.javadocJar.configure {
143
143
archiveClassifier.set(" javadoc" )
144
144
from(dokkaOutputDir)
145
145
}
146
+
147
+ // ===========================
148
+ // Sources publishing configuration
149
+ // ===========================
150
+ tasks.sourcesJar {
151
+ from(project.sourceSets.main.map { it.kotlin })
152
+ }
Original file line number Diff line number Diff line change @@ -147,3 +147,10 @@ tasks.javadocJar.configure {
147
147
archiveClassifier.set(" javadoc" )
148
148
from(dokkaOutputDir)
149
149
}
150
+
151
+ // ===========================
152
+ // Sources publishing configuration
153
+ // ===========================
154
+ tasks.sourcesJar {
155
+ from(project.sourceSets.main.map { it.kotlin })
156
+ }
Original file line number Diff line number Diff line change @@ -188,3 +188,10 @@ tasks.javadocJar.configure {
188
188
archiveClassifier.set(" javadoc" )
189
189
from(dokkaOutputDir)
190
190
}
191
+
192
+ // ===========================
193
+ // Sources publishing configuration
194
+ // ===========================
195
+ tasks.sourcesJar {
196
+ from(project.sourceSets.main.map { it.kotlin })
197
+ }
Original file line number Diff line number Diff line change @@ -183,3 +183,10 @@ tasks.javadocJar.configure {
183
183
archiveClassifier.set(" javadoc" )
184
184
from(dokkaOutputDir)
185
185
}
186
+
187
+ // ===========================
188
+ // Sources publishing configuration
189
+ // ===========================
190
+ tasks.sourcesJar {
191
+ from(project.sourceSets.main.map { it.kotlin })
192
+ }
You can’t perform that action at this time.
0 commit comments