Skip to content

Commit 126ae12

Browse files
committed
Revert removal of sourcesJar task
Signed-off-by: Wei-Qiang Zhou <wei-qiang.zhou@alliander.com>
1 parent 8a29426 commit 126ae12

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎build.gradle‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,16 @@ sourceSets {
271271
}
272272
}
273273

274+
tasks.register('sourcesJar', Jar) {
275+
dependsOn(tasks.named('generatePGMBindings'))
276+
from sourceSets.main.java
277+
archiveClassifier.set('sources')
278+
}
279+
280+
artifacts {
281+
archives sourcesJar
282+
}
283+
274284
java {
275285
withSourcesJar()
276286
withJavadocJar()

0 commit comments

Comments
 (0)