Skip to content

Commit 5bbdd1b

Browse files
committed
add tasks to build.gradle
1 parent b6f3f4e commit 5bbdd1b

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
@@ -23,6 +23,16 @@ dependencies {
2323
testImplementation group: 'org.mockito', name: 'mockito-core', version: '3.2.4'
2424
}
2525

26+
task sourcesJar(type: Jar) {
27+
classifier = 'sources'
28+
from sourceSets.main.allSource
29+
}
30+
31+
task javadocJar(type: Jar) {
32+
classifier = 'javadoc'
33+
from javadoc
34+
}
35+
2636
sourceCompatibility = 1.8
2737
targetCompatibility = 1.8
2838

0 commit comments

Comments
 (0)