diff --git a/build.gradle b/build.gradle index bed27f4..05371c2 100644 --- a/build.gradle +++ b/build.gradle @@ -11,7 +11,13 @@ repositories { mavenCentral() } -dependencies { +task sourcesJar(type: Jar, dependsOn: classes) { + classifier 'sources' + from sourceSets.main.allSource +} + +artifacts { + archives sourcesJar } task wrapper(type: Wrapper) {