Skip to content

Commit ba24841

Browse files
Updated build.gradle to output sources jar for releases.
1 parent 4fbf31b commit ba24841

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ subprojects {
8484
}
8585
}
8686

87+
task sourceJar(type: Jar) {
88+
from sourceSets.main.allSource
89+
archiveClassifier = "sources"
90+
}
91+
8792
jar { exclude '**/log4j2*.xml' }
8893

8994
test {

onixlabs-corda-identity-framework-contract/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ publishing {
5353
groupId = project.parent.group
5454
version = project.parent.version
5555
artifactId = 'onixlabs-corda-identity-framework-contract'
56+
artifact sourceJar
5657
from components.java
5758
}
5859
}

onixlabs-corda-identity-framework-integration/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ publishing {
3333
groupId = project.parent.group
3434
version = project.parent.version
3535
artifactId = 'onixlabs-corda-identity-framework-integration'
36+
artifact sourceJar
3637
from components.java
3738
}
3839
}

onixlabs-corda-identity-framework-workflow/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ publishing {
5353
groupId = project.parent.group
5454
version = project.parent.version
5555
artifactId = 'onixlabs-corda-identity-framework-workflow'
56+
artifact sourceJar
5657
from components.java
5758
}
5859
}

0 commit comments

Comments
 (0)