diff --git a/build.gradle b/build.gradle index 17896966b..a399ca97d 100644 --- a/build.gradle +++ b/build.gradle @@ -15,3 +15,11 @@ dependencies { targetCompatibility = 1.7 } +task sourcesJar(type: Jar, dependsOn: classes) { + classifier = 'sources' + from sourceSets.main.allSource +} + +artifacts { + archives sourcesJar +} \ No newline at end of file