diff --git a/build.gradle b/build.gradle index 1b2c62be8..98a6b24aa 100755 --- a/build.gradle +++ b/build.gradle @@ -108,3 +108,26 @@ jar { ]) } } + +task apiJar(type: Jar, dependsOn: 'classes') { + classifier = 'api' + from(sourceSets.main.output) { + include 'com/raoulvdberge/refinedstorage/api/**' + } +} + +task sourcesJar(type: Jar, dependsOn: classes) { + classifier = 'sources' + from sourceSets.main.allSource +} + +task deobfJar(type:Jar) { + from sourceSets.main.output + classifier 'deobf' +} + +artifacts { + archives sourcesJar + archives deobfJar + archives apiJar +}