Skip to content

Commit b7eec78

Browse files
committed
Added nebula.netflixoss plugin to facilitate publication
1 parent 42b840c commit b7eec78

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

build.gradle

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ plugins {
33
id 'pmd'
44
id 'jacoco'
55
id 'nebula.release' version '20.1.0'
6+
id 'nebula.netflixoss' version '11.6.0'
67
}
78

89
group = 'com.netflix.photon'
@@ -100,6 +101,14 @@ task getDependencies(type: Copy) {
100101
into 'build/libs/'
101102
}
102103

104+
tasks.named('sourcesJar') {
105+
dependsOn generateSources
106+
}
107+
108+
tasks.named('licenseMain') {
109+
dependsOn generateSources
110+
}
111+
103112
jacocoTestReport {
104113
reports {
105114
xml.required = true

0 commit comments

Comments
 (0)